| Commit message (Collapse) | Author | Age | ||
|---|---|---|---|---|
| ... | ||||
| * | | Update/add docstrings for bridgedb.Bridges.FilteredBridgeSplitter. | Isis Lovecruft | 2014-01-12 | |
| | | | ||||
| * | | Minor PEP8 whitespace fix in bridgedb.Bridges.BridgeRing.getBridges(). | Isis Lovecruft | 2014-01-12 | |
| | | | ||||
| * | | Add docstring for bridgedb.Bridges.BridgeRing.getBridges(). | Isis Lovecruft | 2014-01-12 | |
| | | | ||||
| * | | Add docstring for bridgedb.Bridges.BridgeRing._getBridgeKeysAt(). | Isis Lovecruft | 2014-01-12 | |
| | | | ||||
| * | | Minor PEP8 whitespace fix in bridgedb.Bridges.BridgeRing.insert(). | Isis Lovecruft | 2014-01-12 | |
| | | | ||||
| * | | Add docstring for bridgedb.Bridges.BridgeRing.insert(). | Isis Lovecruft | 2014-01-12 | |
| | | | ||||
| * | | Add docstring for bridgedb.Bridges.BridgeRing.clear(). | Isis Lovecruft | 2014-01-12 | |
| | | | ||||
| * | | Add docstring for bridgedb.Bridges.BridgeRing.__len__(). | Isis Lovecruft | 2014-01-12 | |
| | | | ||||
| * | | Minor PEP8 whitespace fixes in bridgedb.Bridges.BridgeRing.setName(). | Isis Lovecruft | 2014-01-12 | |
| | | | ||||
| * | | Fix doctest example in Dist.Distributor.setDistributorName(). | Isis Lovecruft | 2014-01-12 | |
| | | | | | | | | | | | | | 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 Lovecruft | 2014-01-12 | |
| | | | ||||
| * | | Add docstring for Bridges.PluggableTransport.getTransportLine(). | Isis Lovecruft | 2014-01-11 | |
| | | | ||||
| * | | Add generic Dist.Distributor class for common functionality. | Isis Lovecruft | 2014-01-11 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Lovecruft | 2014-01-11 | |
| | | | ||||
| * | | PEP8 fixes in Dist.EmailBasedDistributor. | Isis Lovecruft | 2014-01-11 | |
| | | | | | | | | | | | * FIXES several lines which are too long. * FIXES a couple whitespace problems. | |||
| * | | PEP8; remove unnecessary `pass` statements in Exception classes. | Isis Lovecruft | 2014-01-11 | |
| | | | ||||
| * | | Clarify log messages in IPBasedDistributor.getBridgesForIP(). | Isis Lovecruft | 2014-01-11 | |
| | | | ||||
| * | | Several PEP8 fixes in Dist.IPBasedDistributor. | Isis Lovecruft | 2014-01-11 | |
| | | | | | | | | | | | | | | | | | | | * FIXES several PEP8 problems due to lines being too long. * FIXES one cute PEP8 problem; a semicolon which was placed after a `break` in a `for` loop, probably by someone whose fingers are used to coding in C. * FIXES one PEP8 problem due to continuation of an `if` clause on the same line. | |||
| * | | PEP8 fixes for several lines in Dist.getNumBridgesPerAnswer(). | Isis Lovecruft | 2014-01-11 | |
| | | | | | | | | | | | | | Several `if` clauses are split to the next line, and an unneeded line-continued backslash is removed from the parameters for a call to the logger. | |||
| * | | Numerous whitespace fixes in bridgedb.Dist module. | Isis Lovecruft | 2014-01-11 | |
| | | | | | | | | | These are all whitespace changes ― nothing else is touched. | |||
| * | | Sphinxify and improve Dist.IPBasedDistributor.getBridgesForIP docstring. | Isis Lovecruft | 2014-01-11 | |
| | | | ||||
| * | | Add docstrings for HTTPServer.render() and getBridgeRequestAnswer(). | Isis Lovecruft | 2014-01-05 | |
| | | | ||||
| * | | Cleanup logging of memory addresses in prepopulateRings(). | Isis Lovecruft | 2014-01-05 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The logging before was quite messy. The sub hashrings are identified by the HMAC of a unique string. It turns out that the "unique string" which is used in this case is actually something which looks like the class.__repr__() for a bridgedb.Bridges.BridgeHolder subclass. This is *probably* unique because it contains memory addresses of the newly generated hmac_fn()s, which are likely (though not necessarily) unique. This is a bit gross, in my opinion, but it's not really a problem. However, the log messages this function generated are a problem. They contain memory addresses, which isn't the greatest idea, ignoring all other reasons, simply because it's illegible. * REFACTOR logging statements in bridgedb.Bridges.FilteredBridgeSplitter.prepopulateRings() to remove logging of hmac_fn() memory addresses. * ADD a long comment detailing the "unique strings" which identify a sub hashring, and how they should probably be changed someday. | |||
| * | | Update docstring for bridgedb.Bridges.FilteredBridgeSplitter.prepopulateRings(). | Isis Lovecruft | 2014-01-05 | |
| | | | ||||
| * | | Return True if we were able to prepopulate sub hashrings. | Isis Lovecruft | 2014-01-05 | |
| | | | | | | | | | | | | | | | | | In bridgedb.Bridges.FilteredBridgeSplitter.prepopulateRings(), we return False if we were unable to prepopulate bridges into the sub hashring for whatever reason. In case some calling function wants to use the boolean return value as a check, we should mirror this logic and return True if prepopulation was successful. | |||
| * | | Only log netstatus descriptor fields if they were parsed. | Isis Lovecruft | 2014-01-05 | |
| | | | | | | | | | | | | | * CHANGE bridgedb.Bridges.parseStatusFile() to only log networkstatus descriptor fields if the parsers were actually able to parse them. Otherwise we waste a lot of log lines with blank values. | |||
| * | | Merge branch 'fix/9873-convert-old-unittests_r3' into develop | Isis Lovecruft | 2013-12-20 | |
| |\ \ | ||||
| | * | | Remove unused Travis CI env variable.fix/9873-convert-old-unittests_r3 | Isis Lovecruft | 2013-12-20 | |
| | | | | | | | | | | | | | [ci skip] | |||
| | * | | Actually skip that unittest that hangs in travis CI. | Isis Lovecruft | 2013-12-20 | |
| | | | | ||||
| | * | | Skip testDiscountAndPruneBridgeHistory() unittest in travis CI. | Isis Lovecruft | 2013-12-20 | |
| | | | | ||||
| | * | | Cat bridgedb.log out after a travis CI run. | Isis Lovecruft | 2013-12-20 | |
| | | | | ||||
| | * | | Fix missing word in docstring. | Isis Lovecruft | 2013-12-20 | |
| | | | | ||||
| | * | | Small .travis.yml changes to reports, coverage runs, and geoip deps. | Isis Lovecruft | 2013-12-20 | |
| | | | | ||||
| | * | | Ignore doc/coverage-html directory. | Isis Lovecruft | 2013-12-20 | |
| | | | | ||||
| | * | | Change str → basestring in lib/bridgedb/test/test_persistent.py unittest. | Isis Lovecruft | 2013-12-20 | |
| | | | | ||||
| | * | | Turn doctest we skip in bridgedb.test.util into a Sphinx codeblock. | Isis Lovecruft | 2013-12-20 | |
| | | | | | | | | | | | | | It was still failing. | |||
| | * | | Fix docs in test_Tests.py and deprecated.py to use :api: for twisted. | Isis Lovecruft | 2013-12-20 | |
| | | | | ||||
| | * | | Skip doctest in bridgedb.test.util; cannot make doctest classes. | Isis Lovecruft | 2013-12-20 | |
| | | | | ||||
| | * | | Removed doctest from bridgedb.test.ParseNetworkStatusRLineTests. | Isis Lovecruft | 2013-12-20 | |
| | | | | ||||
| | * | | Fix doctest for bridgedb.crypto.getKey(). | Isis Lovecruft | 2013-12-20 | |
| | | | | ||||
| | * | | Add Sphinx param docs for bridgedb.Time.IntervalSchedule. | Isis Lovecruft | 2013-12-20 | |
| | | | | ||||
| | * | | Fix docstring context for bridgedb.Time.IntervalSchedule. | Isis Lovecruft | 2013-12-20 | |
| | | | | ||||
| | * | | Add Sphinx param docs for bridgedb.Dist.uniformMap(). | Isis Lovecruft | 2013-12-20 | |
| | | | | ||||
| | * | | Fix docstring context for bridgedb.Dist.uniformMap(). | Isis Lovecruft | 2013-12-20 | |
| | | | | ||||
| | * | | Add Sphinx param docs for bridgedb.Bridges.is_valid_ip(). | Isis Lovecruft | 2013-12-20 | |
| | | | | ||||
| | * | | Fix doctest context in bridgedb.Bridges.is_valid_ip(). | Isis Lovecruft | 2013-12-20 | |
| | | | | ||||
| | * | | The logging module in py2.6 doesn't have logging.warnings. | Isis Lovecruft | 2013-12-20 | |
| | | | | ||||
| | * | | Decrease the noisyness of bridgedb.test.fileCheckDecorator(). | Isis Lovecruft | 2013-12-20 | |
| | | | | ||||
| | * | | Change assertion in Tests.py to check for new class. | Isis Lovecruft | 2013-12-20 | |
| | | | | ||||
| | * | | Only test fakeBridges with valid IPs in Tests.py. | Isis Lovecruft | 2013-12-20 | |
| | | | | | | | | | | | | | | | | | | | The random IP address generation in these old unittests would mean that some tests would unreproducibly fail due to their fakeBridge()s using invalid IP addresses. | |||
