summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Winter <phw@nymity.ch>2020-05-22 15:13:38 -0700
committerPhilipp Winter <phw@nymity.ch>2020-05-22 15:13:38 -0700
commit19ba2da7b66cfccee014bde2804f10dafd0696b7 (patch)
treebe4c19923b8dcb0da28d16de0192dbb03b1654d1
parentf25943ef8aabf8cc2b9b5bdfb32b422c2d4960ef (diff)
parent3337b4ac349cd9d4021f9b0616e179be99958c0a (diff)
Merge branch 'enhancement/34154' into develop
-rw-r--r--CHANGELOG4
-rw-r--r--bridgedb/Storage.py8
2 files changed, 11 insertions, 1 deletions
diff --git a/CHANGELOG b/CHANGELOG
index 5ac9e0b..80d3afa 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,7 @@
+ * FIXES https://bugs.torproject.org/34154
+ Add new fields to the SQLite table BlockedBridges in preparation for taking
+ into account OONI's bridge measurement results.
+
* FIXES https://bugs.torproject.org/31528
BridgeDB's UI uses a bunch of obscure "chatspeak" references in its UI. One
example is that it responds with "Uh oh, spaghettios!" if there are
diff --git a/bridgedb/Storage.py b/bridgedb/Storage.py
index d725fa3..0fe8851 100644
--- a/bridgedb/Storage.py
+++ b/bridgedb/Storage.py
@@ -70,7 +70,13 @@ SCHEMA2_SCRIPT = """
CREATE TABLE BlockedBridges (
id INTEGER PRIMARY KEY NOT NULL,
hex_key,
- blocking_country
+ bridge_type,
+ address,
+ port,
+ blocking_country,
+ blocking_asn,
+ measured_by,
+ last_measured
);
CREATE INDEX BlockedBridgesBlockingCountry on BlockedBridges(hex_key);