summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| * | Separate key storage from crypto.getKey() to crypto.writeKeyToFile().Isis Lovecruft2014-03-12
| | | | | | | | | | | | | | | * ADD a new function, bridgedb.crypto.writeKeyToFile(), which is merely the keyfile writing logic from bridgedb.crypto.getKey().
| * | Move HMAC and HMACfunction creators to bridgedb.crypto module.Isis Lovecruft2014-03-12
| | | | | | | | | | | | | | | | | | | | | * MOVE bridgedb.Bridges.get_hmac() → bridgedb.crypto.getHMAC() * MOVE bridgedb.Bridges.get_hmac_fn() → bridgedb.crypto.getHMACFunc() * CHANGE all other modules which use these functions to use the newer ones.
| * | Pep8 and cleanup for bridgedb.Bridges.get_hmac_fn().Isis Lovecruft2014-03-12
| | |
| * | Pep8 and docstring cleanup for bridgedb.Bridges.get_hmac().Isis Lovecruft2014-03-12
| | |
| * | Move Raptcha.rst → captcha.rst so that Sphinx finds it during builds.Isis Lovecruft2014-03-12
| | |
| * | Pep8 fixes for bridgedb.captcha.ReCaptcha.get() method.Isis Lovecruft2014-03-12
| | |
| * | Add challenge Attribute to ICaptcha interface and implementation.Isis Lovecruft2014-03-12
| | |
| * | Add missing period to ReCaptchaKeyError docstring.Isis Lovecruft2014-03-12
| | |
| * | Import only API_SSL_SERVER from recaptcha.client.captcha in bridgedb.captcha.Isis Lovecruft2014-03-12
| | |
| * | Use GimpCaptchProtectedResources in HTTPServer.addServer(), if configured to ↵Isis Lovecruft2014-03-12
| | | | | | | | | | | | do so.
| * | Move the addition of options.html leaf before bridges.html.Isis Lovecruft2014-03-12
| | |
| * | Remove unused ``site=None`` in bridgedb.HTTPServer.addWebServer().Isis Lovecruft2014-03-12
| | |
| * | Update ReCaptchaProtectedResouce docstring.Isis Lovecruft2014-03-12
| | |
| * | Add HTTPServer.GimpCaptchaProtectedResource class.Isis Lovecruft2014-03-12
| | |
| * | Add bridgedb.captcha.GimpCaptcha implementation.Isis Lovecruft2014-03-12
| | | | | | | | | | | | | | | | | | | | | * ADD GimpCaptcha class, which handles retrieving cached CAPTCHAs from a local directory, creating challenge strings from the CAPTCHA answers, and later checking a client's proposed solution against the challenge. * FIXES #10809.
| * | Make a log message in CaptchaProtectedResource more general.Isis Lovecruft2014-03-12
| | |
| * | Use SSL when requesting CAPCHAs from reCaptcha.Isis Lovecruft2014-03-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This sounds bad. It is. What's worse: this only fixes half the problem. The recaptcha.client.captcha.submit() function in the reCaptcha API [0] is hardcoded to submit the server's (in this case, BridgeDB's) private API key, the client's IP address (BridgeDB sends a faked one), and the client's solution to the CAPTCHA, all over HTTP, in glorious plaintext. Hooray. [0]: https://recaptcha.googlecode.com/svn/trunk/recaptcha-plugins/python/recaptcha/client/captcha.py
| * | Rewrite docstring for bridgedb.captcha.ReCaptcha.get().Isis Lovecruft2014-03-12
| | |
| * | Split general and reCaptcha functionality into separate classes.Isis Lovecruft2014-03-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * CHANGE captcha.CaptchaProtectedResource class to only implement general CAPTCHA functionality. * CHANGE render_* methods in captcha.CaptchaProtectedResource to call subclass overridable methods for actions which are implementation specific, i.e. only the reCaptcha class needs to create a fake IP address for a client (see the new ReCaptchaProtectedResource.getRemoteIP() method), so this functionality should be in a separate method rather than in captcha.CaptchaProtectedResource.render_POST(). See methods getCaptchaImage(), extractClientSolution(), and checkSolution(). * ADD new captcha.ReCaptchaProtectedResource class which is a subclass of captcha.CaptchaProtectedResource, and which implements reCaptcha-specific functionality. * CHANGE lib/bridgedb/templates/captcha.html to use HTTP parameters 'captcha_challenge_field' and 'captcha_response_field', rather than 'recaptcha_challenge_field' and 'recaptcha_response_field' respectively.
| * | Import entire bridgedb.captcha module in bridgedb.HTTPServer.Isis Lovecruft2014-03-12
| | |
| * | Add GIMP_CAPTCHA_ENABLED and GIMP_CAPTCHA_DIR options.Isis Lovecruft2014-03-12
| | |
| * | Implement ICaptcha interface and generic Captcha implementation classes.Isis Lovecruft2014-03-12
| | |
| * | Pep8; move ReCaptchaKeyError to the beginning of captcha.py.Isis Lovecruft2014-03-12
| | |
| * | Rename reCaptcha classes.Isis Lovecruft2014-03-12
| | | | | | | | | | | | | | | * RENAME captcha.Raptcha → captcha.ReCaptcha * RENAME captcha.RaptchaKeyError → captcha.ReCaptchaKeyError
| * | Fix old-style class bridgedb.captcha.Raptcha.Isis Lovecruft2014-03-12
| | |
| * | Pep8 the order of imports in lib/bridgedb/captcha.py.Isis Lovecruft2014-03-12
| | |
| * | Rewrite module docstring for lib/bridgedb/captcha.py.Isis Lovecruft2014-03-12
| | |
| * | Rename lib/bridgedb/Raptcha.py → lib/bridgedb/captcha.py.Isis Lovecruft2014-03-12
| | | | | | | | | | | | | | | | | | | | | | | | * CHANGE imports of ``recaptcha.client.captcha`` to ``from recaptcha.client import captcha as recaptcha``, to avoid name conflict. * Update Sphinx source configuration and build files to reflect module name change.
| * | Update copyright info in lib/bridgedb/Raptcha.py and add utf-8 header.Isis Lovecruft2014-03-12
| | |
* | | Merge remote-tracking branch 'tpo-sysrqb/bug9264_rebased_3_r1' into developIsis Lovecruft2014-03-13
|\ \ \
| * | | Readd COLLECT_TIMESTAMPS in Main.load()Matthew Finkel2014-03-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It looks like this was accidently deleted in 967f1a6a4290154977ab7c0cc2cbe0560d7246ce when we changed how we parsed the bridge descriptors. This was originally added in 11b83c612090d673d4f23ccaf85be66ec5588e8a.
| * | | Log fingerprint safely and safely iterate over long listsMatthew Finkel2014-03-13
| | | |
| * | | Add a unit test that verifies we don't add duplicate bridgesMatthew Finkel2014-03-04
| | | | | | | | | | | | | | | | | | | | | | | | Previously we did not check that a bridge was already in a splitter, this resulted in adding bridges with (almost) identical information and #9264.
| * | | Update bridgehistory timestamps for each bridge, as appropriate.Matthew Finkel2014-03-04
| | | |
| * | | Only add a bridge to the splitter if it is new.Matthew Finkel2014-03-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If it's not new then we want to overwrite the old instance. Unconditionally appending to to the splitter results in duplicate bridges. Closes #9264
* | | | Add requirements-doc.txt for dependencies for building Sphinx docs.Isis Lovecruft2014-03-13
| | | |
* | | | Fix coverage skips for Tests.py; skip __init__.py and sitecustomize.py.Isis Lovecruft2014-03-13
| |/ / |/| |
* | | Add CHANGELOG entry for BridgeDB-0.1.5.Isis Lovecruft2014-03-12
| | |
* | | Document `key` parameter for bridgedb.Bridges.BridgeRing.__init__().Isis Lovecruft2014-03-12
| | |
* | | Fix old-style class bridgedb.Bridges.PluggableTransport.Isis Lovecruft2014-03-12
| | |
* | | Fix old-style class bridgedb.Bridges.Bridge.Isis Lovecruft2014-03-12
| | |
* | | Add deprecation note in docstring of Bridges.is_valid_ip().Isis Lovecruft2014-03-12
| | |
* | | Change coverage Makefile directive; use rcfile and TRIAL variable.Isis Lovecruft2014-03-12
| | |
* | | Disable two pylint warnings, W1201 and W1401, in .pylintrc.Isis Lovecruft2014-03-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These warnings are for: :logging-not-lazy (W1201): *Specify string format arguments as logging function parameters* Used when a logging statement has a call form of "logging.<logging method>(format_string % (format_args...))". Such calls should leave string interpolation to the logging method itself and be written "logging.<logging method>(format_string, format_args...)" so that the program may avoid incurring the cost of the interpolation in those cases in which no message will be logged. For more, see http://www.python.org/dev/peps/pep-0282/. This message belongs to the logging checker. :anomalous-backslash-in-string (W1401): *Anomalous backslash in string: '%s'. String constant might be missing an r prefix.* Used when a backslash is in a literal string but not as an escape. This message belongs to the string_constant checker.
* | | Merge branch 'fix/update-gsoc-text' into developIsis Lovecruft2014-03-06
|\ \ \ | |/ / |/| |
| * | Rewrite GSoC 2014 volunteer page text with Damian's suggestions.Isis Lovecruft2014-03-06
|/ /
* | Add a module docstring to bridgedb.crypto.Isis Lovecruft2014-03-04
| |
* | Remove unused HTTPServer.WebResourceBridges.domains attribute.Isis Lovecruft2014-03-04
| | | | | | | | | | | | | | This was left over from commit 120c8e6d4b9d714e79722d83c19e110120977e79, wherein the HTTPS and email distributors were split into different files. The domains are taken from config.EMAIL_DOMAINS and are only applicable to the email server.
* | Fix indentation of docstring parameters in HTTPServer.WebResourceBridges.Isis Lovecruft2014-03-04
| |
* | Change a test_crypto class name and add a docstring.Isis Lovecruft2014-03-04
| |