commit 45b092770e776e19189f66a5aa081331a367f7fa
Author: Isis Lovecruft
Date: Thu Feb 19 01:04:38 2015 +
Remove unused import of bridgedb.geo in bridgedb.Bridges module.
Fix on dec1d60; it was my mistake that the hunk got added while rebasing
the patches on top of the #9380
commit e38e1374acb3bf6e21ffafe8b4edfe0003b80d1a
Author: Isis Lovecruft
Date: Thu Feb 19 00:47:01 2015 +
Remove an unnecessary backslash from a multiline string in bridgedb.geo.
---
lib/bridgedb/geo.py |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/bridgedb/g
commit dd2398c1b303bf0e7deaa4f03e3e2d6fb906
Author: Isis Lovecruft
Date: Thu Feb 19 04:14:23 2015 +
Add CHANGELOG entries for BridgeDB-0.3.0.
---
CHANGELOG | 53 +
1 file changed, 53 insertions(+)
diff --git a/CHANGELOG b/CHANG
commit 22d39691f7d4e773b95d172e6c0949b333e14c38
Merge: dd2398c 45b0927
Author: Isis Lovecruft
Date: Thu Feb 19 04:14:48 2015 +
Merge branch 'fix/12872-bridge-geoip_r1' into develop
.travis.yml |2 +-
lib/bridgedb/HTTPServer.py| 32 -
lib
commit fdf4afad33f8759f4154797a4bd37d678ff40daa
Author: Isis Lovecruft
Date: Thu Feb 19 00:42:18 2015 +
Add unittest for bridgedb.bridges.BridgeAddressBase.country @property.
---
lib/bridgedb/test/test_bridges.py | 12
1 file changed, 12 insertions(+)
diff --git a/lib/b
commit 4c5c35dca9ec768d8b5db031a9253eb50b3544f7
Author: Alden S. Page
Date: Wed Jan 7 16:07:29 2015 -0500
Fixed some defects isis found in the previous patch
Changes in geo.py: Made sure we loaded GeoIP databases without a hitch
before
looking up any IPs. Load compressed IP fr
commit 877ea4f353120526ff06dfb4977bf73dfde88318
Author: Isis Lovecruft
Date: Thu Feb 19 00:46:16 2015 +
And coverage skip pragma to GeoIP DB file check in bridgedb.geo.
---
lib/bridgedb/geo.py |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/bridgedb/geo.py b/
commit 21b9a3916c273e483a58d1101eb3991f65afc00b
Author: Isis Lovecruft
Date: Thu Feb 19 01:01:13 2015 +
Install libgeoip-dev and geoip-database packages for CI builds.
---
.travis.yml |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.travis.yml b/.travis.yml
index
commit dec1d60e13087cd16cc7dd9feec1cd86828d275c
Author: Alden S. Page
Date: Thu Jan 1 21:24:09 2015 -0500
Added countryCode attribute, refactored GeoIP logic into its own module.
Instances of Bridge now keep track of their country codes. This should help
us
hand out bridges mo
commit feeb440961f3c8db4cc4e2476ee0373c4f49da94
Author: Isis Lovecruft
Date: Thu Feb 19 00:41:22 2015 +
Add unittests for bridgedb.geo module.
---
lib/bridgedb/test/test_geo.py | 96 +
1 file changed, 96 insertions(+)
diff --git a/lib/bridgedb
commit 38c5f2db3a02fc49584e0d0a166d11efc8314d4a
Author: Isis Lovecruft
Date: Wed Feb 18 23:39:07 2015 +
Add GeoIP CCs as bridgedb.bridges.BridgeAddressBase.country @property.
This adds a ``country`` @property to Bridges and PluggableTransports,
which, when accessed, determi
commit 09f79a8e0a565d1cc60c2af21cbc442ad5a883bd
Author: Mike Perry
Date: Wed Feb 18 16:41:22 2015 -0800
Changelog and tag bump for 4.0.4.
---
Bundle-Data/Docs/ChangeLog.txt |9 +
gitian/versions| 12 ++--
2 files changed, 15 insertions(+), 6 deletions(
commit 7d63a2e025c359ff2d6e6e201aeab47e1da9f998
Author: Mike Perry
Date: Wed Feb 18 16:12:26 2015 -0800
Update NoScript and all tags for 4.5a4.
---
Bundle-Data/Docs/ChangeLog.txt |1 +
gitian/versions.alpha | 10 +-
2 files changed, 6 insertions(+), 5 deletions(-)
d
commit c9cfd540eaac8d75305d643dcf3113bcd7e3920c
Author: Mike Perry
Date: Wed Feb 18 18:35:51 2015 -0800
Update translations.
---
src/chrome/locale/es/brand.dtd|2 +-
src/chrome/locale/es/torbutton.properties |2 +-
src/chrome/locale/fa/aboutTor.dtd |2 +-
sr
commit 8dc041bc9efdc1c4c45e3a4aa5d5b579befc1844
Author: Isis Lovecruft
Date: Wed Feb 18 22:19:17 2015 +
Add unittest for bridgdb.crypto.removePKCS1Padding().
---
lib/bridgedb/test/test_crypto.py | 61 ++
1 file changed, 61 insertions(+)
diff --git
commit 35a51c29eafaa6af69abeaacd36f1b90d90e67cd
Author: Isis Lovecruft
Date: Wed Feb 18 21:59:14 2015 +
Add unittests for bridgedb.parse.nickname.
---
lib/bridgedb/test/test_parse_nickname.py | 63 ++
1 file changed, 63 insertions(+)
diff --git a/lib/brid
commit 4600b58f0a1fa4b6e8aa490d2eb80802af658587
Author: Isis Lovecruft
Date: Sat Feb 14 03:14:21 2015 +
Add several tests for Bridge.getBridgeLine() with many request types.
---
lib/bridgedb/test/test_bridges.py | 157 +
1 file changed, 157 insertio
commit 4b7845a847d48288ff1ab1008b68e4ea77a35ddd
Author: Isis Lovecruft
Date: Sat Feb 14 03:41:23 2015 +
Refactor Bridge.supportedTransportTypes property to be shorter and faster.
---
lib/bridgedb/bridges.py |7 +--
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/li
commit 4eb8701b959610043a385f9fecf2c5a0faa2d21e
Author: Isis Lovecruft
Date: Sat Feb 14 07:19:54 2015 +
Update class docstring for bridgedb.bridges.Bridge class.
---
lib/bridgedb/bridges.py | 56 +++
1 file changed, 37 insertions(+), 19 del
commit 0271c17d3ccd2f0a42c5dd17335ee682ff42ac8d
Author: Isis Lovecruft
Date: Sat Feb 14 07:18:37 2015 +
Move #5482 Bridge @propertys to BridgeBackwardsCompatibility class.
---
lib/bridgedb/bridges.py | 81 +++
1 file changed, 40 insertions(
commit e48437a8a246d6a32aae2e00c97af667d99630d6
Merge: 034a421 8dc041b
Author: Isis Lovecruft
Date: Wed Feb 18 23:06:25 2015 +
Merge branch 'fix/9380-stem_r10' into develop
.test.requirements.txt|2 +-
.travis.requirements.txt |3 +-
commit 273cd76b35c7cfe4677aaa9b6c492be3e0ff6602
Author: Isis Lovecruft
Date: Sat Feb 14 07:31:49 2015 +
Add tests for Bridge setBlockedIn() and isBlockedIn() methods.
---
lib/bridgedb/test/test_bridges.py | 45 +
1 file changed, 45 insertions(+)
d
commit bbdfb3c4fc6b97364733705801329faf6737de5e
Author: Isis Lovecruft
Date: Sat Feb 14 03:13:17 2015 +
Add another test for Bridge._checkServerDescriptor() with bad digest.
---
lib/bridgedb/test/test_bridges.py | 16 ++--
1 file changed, 14 insertions(+), 2 deletions(-)
commit e81580aa7abd5dd4ba246860489c957ccc903027
Author: Isis Lovecruft
Date: Sat Feb 14 03:07:56 2015 +
Add missing super() call in BridgeBase.__init__().
---
lib/bridgedb/bridges.py |2 ++
1 file changed, 2 insertions(+)
diff --git a/lib/bridgedb/bridges.py b/lib/bridgedb/bridges
commit d1909c8a0aa52168d9456df7b0a06f432c61dce5
Author: Isis Lovecruft
Date: Sat Feb 14 00:50:29 2015 +
Add test for Bridge.updateFromExtraInfoDescriptor() with a changed PT.
This tests what happens if we receive an updated extrainfo descriptor
for a Bridge where one of its
commit 492662db13d959729400e9791bd44ee73b09cb3e
Author: Isis Lovecruft
Date: Wed Feb 18 22:01:13 2015 +
Fix missing logging module import in bridgedb.parse.nickname.
---
lib/bridgedb/parse/nickname.py |1 +
1 file changed, 1 insertion(+)
diff --git a/lib/bridgedb/parse/nickname.py
commit fa007b2e422a604f6f3a855720009c2406fb1a96
Author: Isis Lovecruft
Date: Sat Feb 14 03:08:58 2015 +
Bridge._constructBridgeLine() won't be handed an invalid addresses.
The only way that Bridge._constructBridgeLine() is called is through
Bridge.getBridgeLine() when vanil
commit 1b09bc8b412973f9c2aa1a0428e0cf48910f67da
Author: Isis Lovecruft
Date: Sat Feb 14 07:31:24 2015 +
Add three tests for Bridge.get*LastPublished() methods.
---
lib/bridgedb/test/test_bridges.py | 37 +
1 file changed, 37 insertions(+)
diff --g
commit 4a4d2ec746ef277e3a915eeb895a5ae104098cce
Author: Isis Lovecruft
Date: Sat Feb 14 03:14:58 2015 +
Add test for b.p.d.parseNetworkStatusFile() with IPv6 primary ORAddress.
---
lib/bridgedb/test/test_parse_descriptors.py | 12
1 file changed, 12 insertions(+)
diff -
commit 5309a94c376529e77008b36c63cc55e91d76ca67
Author: Isis Lovecruft
Date: Sat Feb 14 00:48:51 2015 +
Add test for Bridge.updateFromExtraInfoDescriptor() with bad signature.
---
lib/bridgedb/test/test_bridges.py | 53 -
1 file changed, 41 inserti
commit fe5a4a64db3a73127a2a6cba474b6f5a7a753962
Author: Isis Lovecruft
Date: Sat Feb 14 00:41:00 2015 +
Add unittest for parseNetworkStatusFile() with a bad router nickname.
---
lib/bridgedb/test/test_parse_descriptors.py | 16
1 file changed, 16 insertions(+)
diff
commit 0a94b05c376aa4f62f97edd6f7cdfa09db797b83
Merge: 273cd76 034a421
Author: Isis Lovecruft
Date: Wed Feb 18 21:38:57 2015 +
Merge branch 'develop' into fix/9380-stem_r10
lib/bridgedb/test/test_https.py |9 ++---
1 file changed, 6 insertions(+), 3 deletions(-)
___
commit e8395678b7bfaaab55e4e6dcb59437c42263f29f
Author: Isis Lovecruft
Date: Sat Feb 14 00:46:30 2015 +
Add three unittests for parseExtraInfoFiles() with bad router-signatures.
---
lib/bridgedb/test/test_parse_descriptors.py | 50 +++
1 file changed, 50 inser
commit 3cd8690d590a197e2b6067f33f020812da8d7513
Author: Isis Lovecruft
Date: Sat Feb 14 07:20:46 2015 +
Extract bridge_ips from extrainfo descriptors.
---
lib/bridgedb/bridges.py |2 ++
1 file changed, 2 insertions(+)
diff --git a/lib/bridgedb/bridges.py b/lib/bridgedb/bridges.py
commit 281aa6deda4a4d43f8fd57f72ffa4c324ec7767a
Author: Isis Lovecruft
Date: Sat Feb 14 03:16:17 2015 +
Change allVanillaAddresses; Stem only allows the ORAddresses to be IPv4.
* CHANGE Bridge.allVanillaAddresses to only expect the Bridge's primary
ORAddress to be IPv4.
commit 1209ffee6b76b3f849fb326ae6fc41f23665a2f8
Author: Isis Lovecruft
Date: Sat Feb 14 00:52:08 2015 +
Add unittest for Bridge._checkServerDescriptor with mismatched digest.
---
lib/bridgedb/test/test_bridges.py | 12
1 file changed, 12 insertions(+)
diff --git a/lib/b
commit bdd90d749ff31b626a9fce2d3616821062d3acfa
Author: Isis Lovecruft
Date: Sat Feb 14 03:35:35 2015 +
Add test for Bridges with additional ORAddresses which are IPv4.
---
lib/bridgedb/test/test_bridges.py | 24
1 file changed, 24 insertions(+)
diff --git a
commit b8a359029d2ebb536e556b95c15257cf847101a6
Author: Isis Lovecruft
Date: Sat Feb 14 03:28:53 2015 +
Add missing warnings module import in bridgedb.bridges.
---
lib/bridgedb/bridges.py |1 +
1 file changed, 1 insertion(+)
diff --git a/lib/bridgedb/bridges.py b/lib/bridgedb/brid
commit 07288fb57ba855ee6821142a111db1c2e43c875d
Author: Isis Lovecruft
Date: Fri Feb 13 07:34:24 2015 +
Change two log calls in bridgedb.bridges.Bridge to use Bridge.__str__().
---
lib/bridgedb/bridges.py |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/bridge
commit 0c956389589976308580ab82690c0bc00c945a96
Author: Isis Lovecruft
Date: Fri Feb 13 07:42:48 2015 +
Add more unittests for Bridge.updateFromExtraInfoDescriptor().
* ADD test_Bridge_updateFromExtraInfoDescriptor_pt_changed_args() which
checks that updateFromExtraInfo
commit 38446439f0424a544412ac9a15b878eccd282206
Author: Isis Lovecruft
Date: Sat Feb 14 00:34:15 2015 +
Add unittest for Bridge._verifyExtraInfoSignature with a valid sig.
---
lib/bridgedb/test/test_bridges.py |8
1 file changed, 8 insertions(+)
diff --git a/lib/bridgedb/
commit 016815deee25cfb27e474bb8f5be24af68ce0058
Author: Isis Lovecruft
Date: Wed Feb 11 01:22:33 2015 +
Remove Bridges.getDescriptorDigests().
The functionality for checking the server-descriptor digest is now in
bridgedb.bridges.Bridge.updateFromServerDescriptor(), which c
commit 58718f5d6f287d6bf5effbd594295325606248e6
Author: Isis Lovecruft
Date: Wed Feb 11 01:43:47 2015 +
Remove Bridges.parseDescFile() and its unittests.
* REMOVE bridgedb.Bridges.parseDescFile() function because it was
replaced by bridgedb.parse.descriptors.parseServer
commit 777f2389fc6f1e7cb728966f5be204bf062ccf32
Author: Isis Lovecruft
Date: Fri Feb 13 01:05:16 2015 +
Add two unittests for bridgedb.bridges.Bridge.assertOK().
* ADD test_Bridge_assertOK() which checks the case where everything is
in fact okay.
* ADD test_Bridge_
commit 6a6a1021db4a9a0b697f7243c5e7f8d233f5009f
Author: Isis Lovecruft
Date: Fri Feb 13 00:43:32 2015 +
Improve docstring for bridgedb.bridges.Bridge.assertOK().
* FIX a typo in bridgedb.bridges.Bridge.assertOK() docstring and
clarify the method's data validation steps.
commit 227371b8668f3331df73379403a548846c4755e9
Author: Isis Lovecruft
Date: Sun Dec 28 12:39:45 2014 +
Change test_bridges.py unittest to also check bridgeline != None.
---
lib/bridgedb/test/test_bridges.py |1 +
1 file changed, 1 insertion(+)
diff --git a/lib/bridgedb/test/test_
commit f78bea9e46270afa5a603c061ffa76238d83c2f9
Author: Isis Lovecruft
Date: Sun Dec 28 12:43:16 2014 +
Add unittest for PluggableTransport.getTransportLine() with IPv6 address.
---
lib/bridgedb/test/test_bridges.py | 12
1 file changed, 12 insertions(+)
diff --git a/li
commit 3f9e104bd5396ef1e264161b7b3c828505eec992
Author: Isis Lovecruft
Date: Wed Dec 24 09:14:02 2014 +
Move Main.updateBridgeHistory() into separate function.
---
lib/bridgedb/Main.py | 62 --
1 file changed, 40 insertions(+), 22 delet
commit 2fb7f89751bd853fc0ff1c30f752064c12dc852b
Author: Isis Lovecruft
Date: Wed Dec 24 09:14:49 2014 +
Refactor Main.load() to use new Stem-based parsers.
---
lib/bridgedb/Main.py | 156 --
1 file changed, 76 insertions(+), 80 deletions
commit 0e8200f0352865ea3eb3ce235bf431677a835598
Author: Isis Lovecruft
Date: Wed Feb 11 01:29:04 2015 +
Remove Bridges.getExtraInfoDigests().
This functionality is now built into the bridgedb.bridges.Bridge class,
and the retrieval of the digest values is done per-descripto
commit e27be293650207a36ffc93746ad88614407462f3
Author: Isis Lovecruft
Date: Sun Dec 28 12:26:53 2014 +
Fix method parameters for bridges.Bridge.nickname del().
* FIXES a bug where the del() method for the nickname property of a
Bridge wanted a value, when del() should
commit be732f4a7461a0a1a41ee90b4ed86d6ac6534baf
Author: Isis Lovecruft
Date: Wed Dec 24 09:10:02 2014 +
Add more logging to BridgeSplitter distributor placement.
---
lib/bridgedb/Bridges.py |5 +
1 file changed, 5 insertions(+)
diff --git a/lib/bridgedb/Bridges.py b/lib/bridge
commit 868b6e62fe791ad01fab511107646ebf25342700
Author: Isis Lovecruft
Date: Sun Dec 28 12:42:17 2014 +
Add unittest for del() of bridges.PluggableTransport.port property.
---
lib/bridgedb/test/test_bridges.py | 12
1 file changed, 12 insertions(+)
diff --git a/lib/brid
commit da8bdbe56e5cdb6d7e6798e8248681147b19ae9d
Author: Isis Lovecruft
Date: Sun Dec 28 12:41:02 2014 +
Add two more unittests for update() method of bridges.Flags class.
---
lib/bridgedb/test/test_bridges.py | 14 +-
1 file changed, 13 insertions(+), 1 deletion(-)
diff
commit d3629539b38764a785b5027091fa8a1536eeaf06
Author: Isis Lovecruft
Date: Wed Dec 24 08:45:20 2014 +
Use new bridgedb.bridges.Bridge API in bridgedb.Stability.
---
lib/bridgedb/Stability.py |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/bridgedb/Stability
commit 36c66b1418fb046201dd221439f924793386a412
Author: Isis Lovecruft
Date: Sun Dec 28 12:41:54 2014 +
Add unittests for bridges.BridgeAddressBase class.
---
lib/bridgedb/test/test_bridges.py | 35 +++
1 file changed, 35 insertions(+)
diff --git a/li
commit 7150bd19e86125bcaf48f8f48a960244047ae8b2
Author: Isis Lovecruft
Date: Sun Dec 28 12:39:04 2014 +
Add mock descriptors and several Bridge class unittests.
---
lib/bridgedb/test/test_bridges.py | 406 +
1 file changed, 406 insertions(+)
diff -
commit 842a1e26a15b83eb563671bb0929fe7a7e0f2e6e
Author: Isis Lovecruft
Date: Sun Dec 28 12:26:06 2014 +
Add comment to note that Stem also checks nickname spec conformity.
---
lib/bridgedb/bridges.py |7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/lib/brid
commit 978323b132a39fd6d9e429d0cf25e8c0db1e55bd
Author: Isis Lovecruft
Date: Sun Dec 28 12:44:20 2014 +
Raise InvalidRouterNickname in b.p.descriptors.parseNetworkStatusFile().
For all other ValueErrors raised by Stem, we'll re-raise another
ValueError that reuses Stem's er
commit e1ad705670de064d22ababc78f4f38393a8dbf97
Author: Isis Lovecruft
Date: Tue Feb 10 07:34:08 2015 +
Remove bridgedb.Bridges.is_valid_ip().
---
lib/bridgedb/Bridges.py| 34 --
lib/bridgedb/HTTPServer.py |5 +++--
2 files changed, 3 insertion
commit a7da6a642290d1ce2c9eb2d8545dc6a30b1d170c
Author: Isis Lovecruft
Date: Wed Dec 24 08:55:15 2014 +
Only parse PT args if there is an arg present.
---
lib/bridgedb/bridges.py | 15 ---
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/lib/bridgedb/bridges.
commit ff1349df3b04225ce62358b39ad2f94cce039f27
Author: Isis Lovecruft
Date: Wed Dec 24 08:58:54 2014 +
Refactor Bridge.updateFromExtraInfoDescriptor() transport handling code.
---
lib/bridgedb/bridges.py | 91 ---
1 file changed, 62 insert
commit 399552ae06b56c7f703303e9d0c638253657d1bb
Author: Isis Lovecruft
Date: Wed Feb 11 21:58:51 2015 +
Deprecate the bridgedb.parse.networkstatus module.
* MOVE bridgedb.parse.networkstatus to
bridgedb.test.deprecated_networkstatus and wrap all callables within
commit 61aa46585bfef18dfb20a817b94f779f4c5e56f0
Author: Isis Lovecruft
Date: Wed Dec 24 09:11:06 2014 +
PEP8 whitespace fix in Bridges.py.
---
lib/bridgedb/Bridges.py |1 +
1 file changed, 1 insertion(+)
diff --git a/lib/bridgedb/Bridges.py b/lib/bridgedb/Bridges.py
index b6c51d4.
commit 22e78da568bc608b0487d2fe18b5b3879980fc45
Author: Isis Lovecruft
Date: Wed Dec 31 13:11:18 2014 +
Remove duplicate Bridge.assertOK() spec conformity checks.
* REMOVE sanity checks for spec conformity in Bridge.assertOK() for
fingerprint, address, and port, since t
commit 61f6b4f5c89a78b9cf6268a30530588bb4a33323
Author: Isis Lovecruft
Date: Wed Dec 24 09:15:50 2014 +
Fix a bridge.fingerprint to be uppercased in test_bridges.py.
---
lib/bridgedb/test/test_bridges.py |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/bridged
commit b9be34e53447a522fb83bf66fa492d4f324aab37
Author: Isis Lovecruft
Date: Mon Dec 22 03:44:04 2014 +
Monkeypatch old Bridge class into one run of the legacy regression tests.
---
lib/bridgedb/test/test_Tests.py |2 ++
1 file changed, 2 insertions(+)
diff --git a/lib/bridgedb/te
commit 928ca525105146657c0f6addadd56332fefad85d
Author: Isis Lovecruft
Date: Wed Dec 24 08:56:09 2014 +
Change Bridge.__str__() to identify bridges as the ControlPort does.
---
lib/bridgedb/bridges.py |9 +
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/lib/b
commit 5bd0cfa8a4dfe5dee69f4fc06f7fbf59ea969897
Author: Isis Lovecruft
Date: Wed Dec 24 08:54:35 2014 +
Fix legacy_Tests.py to use uppercased bridge.fingerprints.
---
lib/bridgedb/test/legacy_Tests.py |6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/lib/brid
commit af54441978c9c56e0cd2371b765ede53cb8ce93d
Author: Isis Lovecruft
Date: Mon Dec 22 03:40:46 2014 +
Use new bridgedb.bridges.Bridge API in bridgedb.Bridges functions.
---
lib/bridgedb/Bridges.py | 21 -
1 file changed, 12 insertions(+), 9 deletions(-)
diff --
commit adb67e64ab65bee8cca6ff0638ab97772c474bc9
Author: Isis Lovecruft
Date: Wed Dec 24 08:59:53 2014 +
Refactor Filters.filterBridgesByTransport().
---
lib/bridgedb/Filters.py | 33 ++---
1 file changed, 22 insertions(+), 11 deletions(-)
diff --git a/lib
commit 6015cc35b9f54da04213e7198d2d2e515d7f7a5b
Author: Isis Lovecruft
Date: Wed Dec 24 08:39:40 2014 +
Add better logging to Filters.filterAssignBridgesToRing().
---
lib/bridgedb/Filters.py | 28 +++-
1 file changed, 19 insertions(+), 9 deletions(-)
diff --g
commit 1ffd43fe9f14d03cf3ca49286b3b5570bc361b5d
Author: Isis Lovecruft
Date: Wed Dec 24 08:41:42 2014 +
Change Filters.filterBridgeByIPv[46]() to use bridge.allVanillaAddresses.
Using bridge.or_addresses is deprecated.
---
lib/bridgedb/Filters.py |8
1 file change
commit b476afe9422903207ceed4ac358351fdb9382712
Author: Isis Lovecruft
Date: Wed Dec 24 08:55:40 2014 +
Stem apparently sets port 0 to 'anyport'.
---
lib/bridgedb/bridges.py |7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/lib/bridgedb/bridges.py b/lib/bridg
commit 293d390ae320d77d09125cfbb70f63f46127f0bf
Author: Isis Lovecruft
Date: Thu Dec 11 04:31:59 2014 +
Change Bridge.nickname into a @property.
---
lib/bridgedb/bridges.py | 26 +-
1 file changed, 25 insertions(+), 1 deletion(-)
diff --git a/lib/bridgedb/bri
commit 95f0cfecca414ee3fe6c64d121300fe889f13f0f
Author: Isis Lovecruft
Date: Fri Dec 12 11:23:44 2014 +
Catch ValueErrors in isValidFingerprint.
---
lib/bridgedb/parse/fingerprint.py | 16 +---
1 file changed, 9 insertions(+), 7 deletions(-)
diff --git a/lib/bridgedb/par
commit b6d84d3546e2dacc7547d7ccdc0237ae5ceefdee
Author: Isis Lovecruft
Date: Thu Dec 11 03:55:56 2014 +
Fix another typoed name of a Stem descriptor attribute.
---
lib/bridgedb/bridges.py |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/bridgedb/bridges.py b/l
commit 0680b5e89aa421778b7659497243a2e788b7a97e
Author: Isis Lovecruft
Date: Thu Dec 11 03:50:39 2014 +
Change usage of Bridge.allVanillaAddresses to use new 3-tuple form.
---
lib/bridgedb/bridges.py | 10 --
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/lib/b
commit 3a098fcb6e623e5b0492f9727cb31204fc17a48d
Author: Isis Lovecruft
Date: Wed Dec 24 08:46:16 2014 +
Decrease log noisiness of bridgedb.bridges.Flags.update().
---
lib/bridgedb/bridges.py |6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/lib/bridgedb/bridg
commit f49a243bb2208ec371b01341d8ad1ecc1669ad48
Author: Isis Lovecruft
Date: Wed Dec 24 08:40:37 2014 +
Change Filter.filterBridgesByIPv[46]() to use bridge.address.
Using bridge.ip is deprecated.
---
lib/bridgedb/Filters.py |4 ++--
1 file changed, 2 insertions(+), 2 dele
commit 2d5d42dbcd04498435eae99f9682295ac354d706
Author: Isis Lovecruft
Date: Thu Dec 11 03:43:44 2014 +
Add MissingServerDescriptorDigest exception class.
---
lib/bridgedb/bridges.py |6 ++
1 file changed, 6 insertions(+)
diff --git a/lib/bridgedb/bridges.py b/lib/bridgedb/bri
commit 4cba2a52d777f4a1e330fcd6940d495d049b4df0
Author: Isis Lovecruft
Date: Wed Dec 24 08:53:38 2014 +
Use PluggableTransports._runChecks() only if initialised with params.
---
lib/bridgedb/bridges.py |3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/lib/bridged
commit b7d70cde5c0fddd27551e8768d4503266455d0eb
Author: Isis Lovecruft
Date: Mon Dec 22 03:42:14 2014 +
Use new bridgedb.bridges.Bridge API in bridgedb.Storage.
---
lib/bridgedb/Storage.py |5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/lib/bridgedb/Storage.
commit 910f749410e58960228b878bf45c2d775b9180cb
Author: Isis Lovecruft
Date: Thu Dec 11 03:55:10 2014 +
Add docstring for parameter to Bridge.updateFromServerDescriptor().
---
lib/bridgedb/bridges.py |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/bridgedb/br
commit 6ae93e5a0f5ef422f68ecf3e67aa83669f63b947
Author: Isis Lovecruft
Date: Wed Dec 24 08:51:09 2014 +
Move fingerprint and address properties to new BridgeAddressBase class.
This class is now the base for both the PluggableTransport class and the
BridgeBase class, since b
commit 264d8fc91ae1b7de149bf155e37a6b38e52ad240
Author: Isis Lovecruft
Date: Wed Dec 24 08:43:39 2014 +
Remove filterBridgesByOnlyIP4() and filterBridgesByOnlyIP6().
These were only used in lib/bridgedb/test/legacy_Tests.py.
---
lib/bridgedb/Filters.py | 16 ---
commit 192a3e876015fd6bc1414af2df55945bb79471a2
Author: Isis Lovecruft
Date: Thu Dec 11 04:28:04 2014 +
Change isValidRouterNickname() to only return booleans.
---
lib/bridgedb/parse/networkstatus.py |2 ++
lib/bridgedb/parse/nickname.py | 25 +
2 fil
commit aa6015a7bdb8208a4ca51b05de04f12d6be8b536
Author: Isis Lovecruft
Date: Thu Dec 11 03:54:30 2014 +
Make Bridge server-descriptor checks raise exceptions.
---
lib/bridgedb/bridges.py | 10 --
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/lib/bridgedb/bridg
commit 6205c5b62775899dfefd36861d01a7ca982209ed
Author: Isis Lovecruft
Date: Thu Dec 11 03:52:26 2014 +
Fix two typos in attribute names of Stem's descriptors.
---
lib/bridgedb/bridges.py |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/bridgedb/bridges.py
commit f3d08e3aec1cf85a688d8d023bbca31213380db5
Author: Isis Lovecruft
Date: Wed Dec 10 23:27:44 2014 +
Fix the names of five unittests in test_parse_descriptors.py.
The function is called `parseNetworkStatusFile()`, not
`parseBridgeNetworkStatusFile()`.
* CHANGE
commit e07d97ad594a59522f29291fbfbd5c915ed76b4c
Author: Isis Lovecruft
Date: Thu Dec 11 03:52:02 2014 +
Change Bridge.fingerprint into a @property.
---
lib/bridgedb/bridges.py | 31 ++-
1 file changed, 30 insertions(+), 1 deletion(-)
diff --git a/lib/brid
commit b1a9f792909e6def9abdc707f27a85854010ec9e
Author: Isis Lovecruft
Date: Thu Dec 11 04:25:08 2014 +
Move isValidRouterNickname to its own module.
---
lib/bridgedb/parse/networkstatus.py | 19 --
lib/bridgedb/parse/nickname.py | 48 ++
commit abf0d2397220d93510a862396693f5afeb5c7262
Author: Isis Lovecruft
Date: Thu Dec 11 03:49:06 2014 +
Fix typo in Bridge.bandwidthObserved attribute name.
---
lib/bridgedb/bridges.py |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/bridgedb/bridges.py b/lib/
commit 165ebecd83e33f0cdaa7adb645c2596e74cff092
Author: Isis Lovecruft
Date: Wed Dec 10 23:22:26 2014 +
Rename b.p.d.parseBridgeExtraInfoFiles() â b.p.d.parseExtraInfoFiles().
---
lib/bridgedb/parse/descriptors.py |2 +-
lib/bridgedb/test/deprecated.py |
commit c031cafea281f0b46d68657f3d194785b788562b
Author: Isis Lovecruft
Date: Thu Dec 11 03:45:08 2014 +
Move Bridge backwards compat code into new base classes.
This changes the behaviour, such that if BridgeBackwardsCompatibility is
inherited from, then the compatibility m
commit 122ad409aa0dd84563d580e5002cecb1cc20d25f
Author: Isis Lovecruft
Date: Fri Dec 5 18:55:14 2014 -0800
Update the Bridge's transports in updateFromExtraInfoDescriptor().
---
lib/bridgedb/bridges.py | 31 +++
1 file changed, 31 insertions(+)
diff --git a/l
commit cfc24e94335c27d6e9fb936510ab6cb9bbc1cd41
Author: Isis Lovecruft
Date: Wed Dec 10 23:25:14 2014 +
Fix the name of a unittest in test_parse_descriptors.
It tests the `parseServerDescriptorsFile()` function, not
`parseBridgeDescriptorsFile()`.
* CHANGE test_pa
commit 863c8682ed363a28dca67c2ed2e7be94a5f16b8c
Author: Isis Lovecruft
Date: Fri Dec 5 19:04:02 2014 -0800
Deprecate Bridges.parseExtraInfoFile() and Bridges.parseStatusFile().
* MOVE Bridges.parseExtraInfoFile() to
test.deprecated.parseExtraInfoFile().
* MOVE Bridges.
commit 62f6039b435058c711a6918fd153f85d9889012b
Author: Isis Lovecruft
Date: Sat Dec 6 00:04:52 2014 +
Implement bridgedb.bridges.Flags for storing/parsing flags.
* ADD bridgedb.bridges.Flags class.
* CHANGE bridgedb.bridges.Bridge.flags attribute to be an instance of
commit 4933866de8aff1d5bb88ac8a10099e2489e544c4
Author: Isis Lovecruft
Date: Fri Dec 5 09:34:36 2014 +
Add three unittests for parsing unparseable extrainfo files.
---
lib/bridgedb/test/test_parse_descriptors.py | 111 +++
1 file changed, 111 insertions(+)
dif
1 - 100 of 245 matches
Mail list logo