summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Return the bridge's address and an IP address instead of stringbug9264_rebased_0Matthew Finkel2014-02-08
|
* Add some unit tests for Bridges moduleMatthew Finkel2014-02-02
|
* We should be consistant and use lowercaseMatthew Finkel2014-02-02
|
* Only add bridges for which their documents were verified by the BAMatthew Finkel2014-02-02
|
* Update the Bridge class docstringMatthew Finkel2014-02-02
|
* We need to remember the digests of the documents the bridge publishedMatthew Finkel2014-02-02
|
* We need the ORPort to be an int, convert it from the get-goMatthew Finkel2014-02-02
|
* We need to compute the hash digest of the documents during (re)loadingMatthew Finkel2014-02-02
|
* Prefer to use information from NS rather than descriptorMatthew Finkel2014-02-02
|
* Add me and remove isis from travis notificationsMatthew Finkel2014-02-02
|
* Several whitespace fixes in bridgedb.HTTPServer module.Isis Lovecruft2014-02-02
|
* Change renderAnswer() to take bridge lines, not Bridge classes.Isis Lovecruft2014-02-02
| | | | | 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-02-02
|
* Cleanup the log statements for hashring prepopulation in bridgedb.Main.Isis Lovecruft2014-02-02
|
* Change loglevel on message about adding PTs to a bridge in bridgedb.Main.Isis Lovecruft2014-02-02
|
* Update docstring parameters for IPBasedDistributor.getBridgesForIP().Isis Lovecruft2014-02-02
|
* Log when a distributor's hashrings are being prepopulated.Isis Lovecruft2014-02-02
|
* Call Distributor.setDistributorName() in subclass __init__s.Isis Lovecruft2014-02-02
|
* Fix bug where open() was called even when COUNTY_BLOCK_FILE=None.Isis Lovecruft2014-02-02
|
* Log when we're dumping bridge assignments to a file in bridgedb.Bucket.Isis Lovecruft2014-02-02
|
* Add coding: utf-8 header to lib/bridgedb/Bucket.py.Isis Lovecruft2014-02-02
|
* Fix a potential bug where an OR ID might have been unprocessed base64.Isis Lovecruft2014-02-02
| | | | | | | * 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-02-02
|
* Don't log the hashring filters twice, just log the number of bridges inserted.Isis Lovecruft2014-02-02
|
* Remove extraneous log statement from FilteredBridgeSplitter.prepopulate().Isis Lovecruft2014-02-02
|
* Log when we dump assignments to a file.Isis Lovecruft2014-02-02
|
* Name subrings after their parent hashring's distributor.Isis Lovecruft2014-02-02
| | | | | | | | | * 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.
* Make the 'Bridge ' prefix optional in PluggableTransport.getTransportLine().Isis Lovecruft2014-02-02
|
* Refactor PluggableTransport.getTransportLine() to remove `keyid=`.Isis Lovecruft2014-02-02
| | | | | | | * 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-02-02
|
* Log countryCodes in BridgeRing.getBridges().Isis Lovecruft2014-02-02
| | | | | | 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-02-02
| | | | * REMOVE the comment and other cruft around it.
* Add exception-catching wrapper to bridgedb.HTTPServer.render().Isis Lovecruft2014-02-02
| | | | | | | | | | * 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-02-02
| | | | | | | | * 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.
* Update/add docstrings for bridgedb.Bridges.FilteredBridgeSplitter.Isis Lovecruft2014-02-02
|
* Minor PEP8 whitespace fix in bridgedb.Bridges.BridgeRing.getBridges().Isis Lovecruft2014-02-02
|
* Add docstring for bridgedb.Bridges.BridgeRing.getBridges().Isis Lovecruft2014-02-02
|
* Add docstring for bridgedb.Bridges.BridgeRing._getBridgeKeysAt().Isis Lovecruft2014-02-02
|
* Minor PEP8 whitespace fix in bridgedb.Bridges.BridgeRing.insert().Isis Lovecruft2014-02-02
|
* Add docstring for bridgedb.Bridges.BridgeRing.insert().Isis Lovecruft2014-02-02
|
* Add docstring for bridgedb.Bridges.BridgeRing.clear().Isis Lovecruft2014-02-02
|
* Add docstring for bridgedb.Bridges.BridgeRing.__len__().Isis Lovecruft2014-02-02
|
* Minor PEP8 whitespace fixes in bridgedb.Bridges.BridgeRing.setName().Isis Lovecruft2014-02-02
|
* Fix doctest example in Dist.Distributor.setDistributorName().Isis Lovecruft2014-02-02
| | | | | | See https://travis-ci.org/isislovecruft/bridgedb/jobs/16798991#L1591, it was erroring because it expected the default hashring name for every hashring which was prepopulated.
* Add class docstrings for bridgedb.Bridges.BridgeRing.Isis Lovecruft2014-02-02
|
* Add docstring for Bridges.PluggableTransport.getTransportLine().Isis Lovecruft2014-02-02
|
* Add generic Dist.Distributor class for common functionality.Isis Lovecruft2014-02-02
| | | | | | | | | | | | | This class currently serves very little purpose because I am still nervous about making major changes to the IPBasedDistributor and EmailBasedDistributor classes. However, I did add functionality for naming a Distributor's hashrings after the distributor's class, so that which hashring a bridge is being added to is much clearer in the logs. * ADD bridgedb.Dist.Distributor class. * CHANGE IPBasedDistributor and EmailBasedDistributor to inherit from Distributor. * ADD functionality for naming hashrings after their distributor.
* Clarify log messages in EmailBasedDistributor.getBridgesForEmail().Isis Lovecruft2014-02-02
|
* PEP8 fixes in Dist.EmailBasedDistributor.Isis Lovecruft2014-02-02
| | | | | * FIXES several lines which are too long. * FIXES a couple whitespace problems.
* PEP8; remove unnecessary `pass` statements in Exception classes.Isis Lovecruft2014-02-02
|