summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| * | | Implement a simple error page to replace all webserver tracebacks.fix/6127-simple-error-pageIsis Lovecruft2014-01-28
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | * ADD HTTPServer.replaceErrorPage() function for catching templating errors and sending them to the logger. The user is served a very simply "Somthing went wrong page". * CHANGE all calls to mako.templates.Template.render() to be wrapped in a try/except block which directs to the new HTTPServer.replaceErrorPage() function.
* | | Merge branch 'fix/10737-post-args-redirects' into developIsis Lovecruft2014-01-28
|\ \ \
| * | | Fix typos in two docstrings in HTTPServer.fix/10737-post-args-redirectsIsis Lovecruft2014-01-26
| | | |
| * | | Fix indentation level in method docstring.Isis Lovecruft2014-01-26
| | | |
| * | | Preserve HTTP POST args across redirects.Isis Lovecruft2014-01-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * FIXES #10737, an issue where if a CAPTCHA was entered incorrectly, the client would be redirected back to /bridges.html without the original HTTP POST arguments (which specify the requested pluggable transports, IP version, etc.).
| * | | Add Sphinx docstring to CaptchaProtectedResource.render_POST().Isis Lovecruft2014-01-26
| | | |
| * | | Catch error case in HTTPServer where ReCaptcha image is None.Isis Lovecruft2014-01-26
| | | |
| * | | Fix a misnamed logger call in HTTPServer; change severity level.Isis Lovecruft2014-01-26
| | | |
| * | | Split a long string of chained method calls into separate calls.Isis Lovecruft2014-01-25
| | | | | | | | | | | | | | | | | | | | | | | | * CHANGE a line in HTTPServer.CaptchaProtectedResource which chained several method calls together inside a return statement, into a separate lines for each call.
| * | | Make log message for strange X-Forward-For headers clearer.Isis Lovecruft2014-01-25
| | | |
| * | | Don't safelog randomly generated IPs.Isis Lovecruft2014-01-25
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | * REMOVE calls to `Util.safelog` which masked the IP addresses which are randomly generated in `HTTPServer.CaptchaProtectedResource.render_POST()`. These random IPs are sent to the ReCaptcha server in order to not reveal the client's real IP, and they are no more revealing/identifying of a particular client than the `twisted.web.http.Request.args` which are logged.
* | | Merge branch 'feature/10724-collect-timestamps-option' into developIsis Lovecruft2014-01-24
|\ \ \
| * | | Add COLLECT_TIMESTAMPS option for configuring addOrUpdateBridgeHistory().feature/10724-collect-timestamps-optionIsis Lovecruft2014-01-24
|/ / / | | | | | | | | | | | | | | | | | | * ADD a new option, `COLLECT_TIMESTAMPS` to the config file to configure whether or not to run the timestamp collection code, including `Stability.addOrUpdateBridgeHistory()`, in `Main.load()`. * FIXES #10724
* | | Merge branch 'fix/6127-render_GET-traceback' into developIsis Lovecruft2014-01-24
|\ \ \ | |/ / |/| |
| * | Fix unhandled traceback in HTTPServer.WebRoot.render_GET() for #6127.fix/6127-render_GET-tracebackIsis Lovecruft2014-01-24
| | |
| * | Fix Sphinx directives in HTTPServer.usingRTLLang().Isis Lovecruft2014-01-24
| | |
| * | Add docstrings to HTTPServer.WebRoot class and render_GET() method.Isis Lovecruft2014-01-24
|/ /
* | Update most translations.Isis Lovecruft2014-01-24
| | | | | | | | | | | | | | | | There was a newly-added escaped double quote without a corresponding, escaped pair, followed by a newline, i.e.: `\"\n` in the Thai translation which didn't seem to mess up the template parser nor the browsers I tested it in, but it did add an unnecessary double quote on the page so I removed it.
* | Comment out print()s and sys.stdout.write()s in setup.py.Isis Lovecruft2014-01-19
| |
* | Sync bridgedb.conf with bridgedb-admin.git (no settings changed).Isis Lovecruft2014-01-17
| |
* | Add example extrainfo `transport` line for scramblesuit.Isis Lovecruft2014-01-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Philipp Winter's scramblesuit paper has a section on creating easily handwritable shared secrets. [0] To my memory, this excludes using the character `O` (capital o) and the integer `1`, because they are easily confused for the integer '0' and the character 'l', respectively. However, Philipp mentioned on IRC that scramblesuit `password=` fields in the `transport` line are actually just the set of base32 characters. [1] * ADD a line to doc/DESCRIPTORS.md which shows an example scramblesuit-enabled bridge which uses a shared secret passed through BridgeDB. See #9013. [0]: http://arxiv.org/abs/1305.3199 [1]: https://tools.ietf.org/html/rfc4648
* | Fix a typo in doc/DESCRIPTORS.md.Isis Lovecruft2014-01-14
| |
* | Merge branch 'master' into developIsis Lovecruft2014-01-12
|\ \ | |/
| * Merge branch 'release-0.1.0'Isis Lovecruft2014-01-12
| |\ | |/ |/|
* | Several whitespace fixes in bridgedb.HTTPServer module.bridgedb-0.1.0Isis Lovecruft2014-01-12
| |
* | Change renderAnswer() to take bridge lines, not Bridge classes.Isis Lovecruft2014-01-12
| | | | | | | | | | Otherwise, we'd also have to pass the `transport`, and `addressClass` parameters to renderAnswer().
* | Add missing import for bridgedb.Util in bridgedb.Bridges.Isis Lovecruft2014-01-12
| |
* | Cleanup the log statements for hashring prepopulation in bridgedb.Main.Isis Lovecruft2014-01-12
| |
* | Change loglevel on message about adding PTs to a bridge in bridgedb.Main.Isis Lovecruft2014-01-12
| |
* | Update docstring parameters for IPBasedDistributor.getBridgesForIP().Isis Lovecruft2014-01-12
| |
* | Log when a distributor's hashrings are being prepopulated.Isis Lovecruft2014-01-12
| |
* | Call Distributor.setDistributorName() in subclass __init__s.Isis Lovecruft2014-01-12
| |
* | Fix bug where open() was called even when COUNTY_BLOCK_FILE=None.Isis Lovecruft2014-01-12
| |
* | Log when we're dumping bridge assignments to a file in bridgedb.Bucket.Isis Lovecruft2014-01-12
| |
* | Add coding: utf-8 header to lib/bridgedb/Bucket.py.Isis Lovecruft2014-01-12
| |
* | Fix a potential bug where an OR ID might have been unprocessed base64.Isis Lovecruft2014-01-12
| | | | | | | | | | | | | | * CHANGE bridgedb.parse.networkstatus.parseRLine() to check the OR nickname validity only after parsing (and readding the base64 padding to) the OR ID digest. * ADD inline comments about why this is done.
* | Update bridgedb.parse.networkstatus module docstring.Isis Lovecruft2014-01-12
| |
* | Don't log the hashring filters twice, just log the number of bridges inserted.Isis Lovecruft2014-01-12
| |
* | Remove extraneous log statement from FilteredBridgeSplitter.prepopulate().Isis Lovecruft2014-01-12
| |
* | Log when we dump assignments to a file.Isis Lovecruft2014-01-12
| |
* | Name subrings after their parent hashring's distributor.Isis Lovecruft2014-01-12
| | | | | | | | | | | | | | | | | | * MOVE logic for parsing filternames from the "unique string" in method FilteredBridgeSplitter.addRing() to new method FilteredBridgeSplitter.extractFilterNames(). * ADD a FilteredBridgeSplitter.distributorName attribute which is set when Dist.Distributor.setDistributorName() is called. * REFACTOR FilteredBridgeSplitter.addRing() to use the new subring names.
* | Merge branch 'fix/10559-keyid-in-pt-lines' into developIsis Lovecruft2014-01-12
|\ \
| * | Make the 'Bridge ' prefix optional in PluggableTransport.getTransportLine().fix/10559-keyid-in-pt-linesIsis Lovecruft2014-01-12
| | |
| * | Refactor PluggableTransport.getTransportLine() to remove `keyid=`.Isis Lovecruft2014-01-12
| | | | | | | | | | | | | | | | | | | | | * FIXES #10559 * FIXES a bunch of PEP8 problems. * CHANGE getTransportLine() to use `' '.join()` rather than formatting the bridge line inside the return statement. It's faster and safer.
* | | Log a message if there is a duplicate bridge from a sub-hashring.Isis Lovecruft2014-01-12
| | |
* | | Log countryCodes in BridgeRing.getBridges().Isis Lovecruft2014-01-12
| | | | | | | | | | | | | | | | | | This is to see if they are ever actually passed into this function. They weren't being used anywhere inside BridgeRing.getBridges(), nor anywhere else.
* | | Use bridges.ip in log message in BridgeRing.insert().Isis Lovecruft2014-01-12
|/ / | | | | | | * REMOVE the comment and other cruft around it.
* | Merge branch 'fix/6127-web-server-tracebacks' into developIsis Lovecruft2014-01-12
|\ \
| * | Add exception-catching wrapper to bridgedb.HTTPServer.render().fix/6127-web-server-tracebacksIsis Lovecruft2014-01-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ADD a wrapper which catches all unhandled exceptions which occur while generating an HTML response. If such an exception occurs, this ensures that the error is logged and the default "No bridges currently available" response is served to the client (rather than display a traceback to the client, which is what BridgeDB did previously). * FIXES #6127
| * | Separate HTML response generation logic out of getBridgeRequestAnswer().Isis Lovecruft2014-01-12
|/ / | | | | | | | | | | | | | | * MOVE logic for generating HTML responses out of bridgedb.HTTPServer.WebResource.getBridgeRequestAnswer() and into a new method, bridgedb.HTTPServer.WebResource.renderAnswer(). This allows other methods to generate responses, even if the request was malformed.