[tor-commits] [translation/support-portal] https://gitweb.torproject.org/translation.git/commit/?h=support-portal

2020-02-19 Thread translation
commit 71d44bdb6f2fe4110ebca93a8c097ed3873fff11 Author: Translation commit bot Date: Wed Feb 19 23:53:29 2020 + https://gitweb.torproject.org/translation.git/commit/?h=support-portal --- contents+es.po | 16 +++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git

[tor-commits] [translation/support-portal] https://gitweb.torproject.org/translation.git/commit/?h=support-portal

2020-02-19 Thread translation
commit eeb7c7e4aa5979cc8c6bbc30b057f3d084fca9eb Author: Translation commit bot Date: Wed Feb 19 23:23:31 2020 + https://gitweb.torproject.org/translation.git/commit/?h=support-portal --- contents+es.po | 75 +- 1 file changed, 74

[tor-commits] [translation/support-portal] https://gitweb.torproject.org/translation.git/commit/?h=support-portal

2020-02-19 Thread translation
commit a8d2b6ed4008c159ae43bcde9ca61596c2546d86 Author: Translation commit bot Date: Wed Feb 19 22:53:33 2020 + https://gitweb.torproject.org/translation.git/commit/?h=support-portal --- contents+es.po | 52 1 file changed, 48

[tor-commits] [translation/support-portal] https://gitweb.torproject.org/translation.git/commit/?h=support-portal

2020-02-19 Thread translation
commit 3e382851d0d97863e3a8a79f1e388aaa1998455c Author: Translation commit bot Date: Wed Feb 19 22:23:39 2020 + https://gitweb.torproject.org/translation.git/commit/?h=support-portal --- contents+es.po | 90 -- 1 file changed, 88

[tor-commits] [translation/support-portal] https://gitweb.torproject.org/translation.git/commit/?h=support-portal

2020-02-19 Thread translation
commit 8278af748f9e1b940a56e57da134c7ceffb69d88 Author: Translation commit bot Date: Wed Feb 19 21:54:13 2020 + https://gitweb.torproject.org/translation.git/commit/?h=support-portal --- contents+es.po | 42 ++ 1 file changed, 38 insertions(+),

[tor-commits] [translation/support-portal] https://gitweb.torproject.org/translation.git/commit/?h=support-portal

2020-02-19 Thread translation
commit 616ee8c0c0cebd83290f9bd393ea022becb7f946 Author: Translation commit bot Date: Wed Feb 19 21:23:48 2020 + https://gitweb.torproject.org/translation.git/commit/?h=support-portal --- contents+es.po | 50 +++--- 1 file changed, 47

[tor-commits] [translation/support-portal] https://gitweb.torproject.org/translation.git/commit/?h=support-portal

2020-02-19 Thread translation
commit 5774dcac5159fd2247f9ea294bd30201a76d788a Author: Translation commit bot Date: Wed Feb 19 20:54:14 2020 + https://gitweb.torproject.org/translation.git/commit/?h=support-portal --- contents+es.po | 52 +--- 1 file changed, 49

[tor-commits] [translation/support-portal] https://gitweb.torproject.org/translation.git/commit/?h=support-portal

2020-02-19 Thread translation
commit ca3686e1eb82d581cccbf0d4b4cbe0f7eb9cfe41 Author: Translation commit bot Date: Wed Feb 19 20:24:04 2020 + https://gitweb.torproject.org/translation.git/commit/?h=support-portal --- contents+es.po | 39 +-- 1 file changed, 33 insertions(+), 6

[tor-commits] [translation/tbmanual-contentspot] https://gitweb.torproject.org/translation.git/commit/?h=tbmanual-contentspot

2020-02-19 Thread translation
commit 6d2ec168c3d644032d3af88c82f3e2f3173ec368 Author: Translation commit bot Date: Wed Feb 19 20:20:23 2020 + https://gitweb.torproject.org/translation.git/commit/?h=tbmanual-contentspot --- contents+pt-PT.po | 30 -- 1 file changed, 20 insertions(+), 10

[tor-commits] [tpo/master] Remove 9.5a4 from RecommendedTBBVersions

2020-02-19 Thread boklm
commit 90264dd53e6b48a30865f7f6ba02ddaf49ae75f1 Author: Nicolas Vigier Date: Mon Feb 17 19:47:49 2020 +0100 Remove 9.5a4 from RecommendedTBBVersions --- content/projects/torbrowser/RecommendedTBBVersions/contents.lr | 4 1 file changed, 4 deletions(-) diff --git

[tor-commits] [tor-browser/tor-browser-68.5.0esr-9.5-1] Bug 32493: Disable MOZ_SERVICES_HEALTHREPORT

2020-02-19 Thread sysrqb
commit 6046d1d582804594a57d132280376b8027d1ed83 Author: Nicolas Vigier Date: Thu Jan 30 14:32:13 2020 +0100 Bug 32493: Disable MOZ_SERVICES_HEALTHREPORT --- browser/moz.configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/browser/moz.configure

[tor-commits] [tor-browser/tor-browser-68.5.0esr-9.5-1] Bug 32658: Create a new MAR signing key

2020-02-19 Thread sysrqb
commit 0f42a8ed2229c1ad5da15803eeebd2f849ffdb21 Author: Georg Koppen Date: Fri Jan 17 12:54:31 2020 + Bug 32658: Create a new MAR signing key It's time for our rotation again: Move the backup key in the front position and add a new backup key. ---

[tor-commits] [tor/master] fix typo from 7920fc35

2020-02-19 Thread arma
commit 98bf7604a3b07facdc5f0d41b0279851440d1380 Author: Roger Dingledine Date: Wed Feb 19 14:53:36 2020 -0500 fix typo from 7920fc35 --- doc/tor.1.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/tor.1.txt b/doc/tor.1.txt index a983b555c..3d00e62a4 100644 ---

[tor-commits] [translation/support-portal] https://gitweb.torproject.org/translation.git/commit/?h=support-portal

2020-02-19 Thread translation
commit a8a84b664070e1b4361fe73bc559115bbb80edd1 Author: Translation commit bot Date: Wed Feb 19 19:53:55 2020 + https://gitweb.torproject.org/translation.git/commit/?h=support-portal --- contents+es.po | 28 1 file changed, 28 insertions(+) diff --git

[tor-commits] [translation/tbmanual-contentspot] https://gitweb.torproject.org/translation.git/commit/?h=tbmanual-contentspot

2020-02-19 Thread translation
commit 99b51bc6a9e9ebac38e0079cebfc459c5c2c9a52 Author: Translation commit bot Date: Wed Feb 19 19:50:18 2020 + https://gitweb.torproject.org/translation.git/commit/?h=tbmanual-contentspot --- contents+pt-PT.po | 18 +- 1 file changed, 13 insertions(+), 5 deletions(-)

[tor-commits] [translation/support-portal] https://gitweb.torproject.org/translation.git/commit/?h=support-portal

2020-02-19 Thread translation
commit a18326469e5f13a82802df9f20484d51d1c9d748 Author: Translation commit bot Date: Wed Feb 19 19:24:22 2020 + https://gitweb.torproject.org/translation.git/commit/?h=support-portal --- contents+es.po | 16 +++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git

[tor-commits] [tor/master] Merge branch 'extract_relay_dns'

2020-02-19 Thread nickm
commit a65efa7e8378fa470b7312509eecf92aa029817f Merge: 65b75ef3d defd941fe Author: Nick Mathewson Date: Wed Feb 19 13:58:53 2020 -0500 Merge branch 'extract_relay_dns' changes/ticket33366 | 3 ++ src/core/mainloop/mainloop.c| 1 - src/core/or/connection_edge.c | 19

[tor-commits] [tor/master] Make dns_cancel_pending_resolve() STATIC.

2020-02-19 Thread nickm
commit defd941fe7f28264ebbffb487ee4383ca2ba Author: Nick Mathewson Date: Wed Feb 19 12:30:09 2020 -0500 Make dns_cancel_pending_resolve() STATIC. It is not called by anything outside of the tests and dns.c. --- src/feature/relay/dns.c | 2 +- src/feature/relay/dns.h | 2 +- 2

[tor-commits] [tor/master] Move DNS TTL manipulation code to src/core/or

2020-02-19 Thread nickm
commit 1f06f494c8ce45946e565237a8a52785a8ece447 Author: Nick Mathewson Date: Tue Feb 18 12:08:29 2020 -0500 Move DNS TTL manipulation code to src/core/or This removes a dependency from the client code on feature/relay. --- src/core/or/connection_edge.c | 15 +++

[tor-commits] [tor/master] Remove assert_all_pending_dns_resolves_ok().

2020-02-19 Thread nickm
commit f739aa79620ad47051c4fd5f7e576899da7e80b5 Author: Nick Mathewson Date: Wed Feb 19 12:27:49 2020 -0500 Remove assert_all_pending_dns_resolves_ok(). It hasn't been used since 2009. --- src/core/mainloop/mainloop.c | 1 - src/feature/relay/dns.c | 19 ---

[tor-commits] [tor/master] Replace identifiers related to clipping DNS ttls.

2020-02-19 Thread nickm
commit dcbc45e6b2f80e8bd3664972d6317331d6b3bc85 Author: Nick Mathewson Date: Tue Feb 18 12:00:24 2020 -0500 Replace identifiers related to clipping DNS ttls. This is an automated commit, generated by this command: ./scripts/maint/rename_c_identifier.py \

[tor-commits] [tor/master] Disable dns.c when relay mode is disabled.

2020-02-19 Thread nickm
commit c43a2452921ac86e65eb70797c8a82b82c2b4076 Author: Nick Mathewson Date: Tue Feb 18 12:32:00 2020 -0500 Disable dns.c when relay mode is disabled. This saves about 1% for me on a binary compiled without relay mode. Closes ticket 33366. --- changes/ticket33366

[tor-commits] [tor/master] dns.h: label functions that are only used inside feature/relay

2020-02-19 Thread nickm
commit 51b470dbc84786f656c8d1f26eb4ff84cc588d00 Author: Nick Mathewson Date: Wed Feb 19 12:17:13 2020 -0500 dns.h: label functions that are only used inside feature/relay --- src/feature/relay/dns.h | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git

[tor-commits] [tor/master] Make ext_orport.c relay-mode-only.

2020-02-19 Thread nickm
commit a1a3a4d5854e1d44ab7ca7e2a117753a8284a704 Author: Nick Mathewson Date: Tue Feb 18 13:20:19 2020 -0500 Make ext_orport.c relay-mode-only. --- changes/ticket33368| 3 +++ src/feature/relay/ext_orport.h | 37 +

[tor-commits] [tor/master] Make connection_or_get_by_ext_or_id() testing-only

2020-02-19 Thread nickm
commit df6191f620f92ce2196955a240c45da63c074fee Author: Nick Mathewson Date: Wed Feb 19 12:04:31 2020 -0500 Make connection_or_get_by_ext_or_id() testing-only Apparently it is only used by the unit tests: tor doesn't want it at all. I've opened a new ticket (33383) to

[tor-commits] [tor/master] Make sure callers can handle NULL ext-or auth cookie filename

2020-02-19 Thread nickm
commit eb07166eb8aed3a37fe0e5ade476d7084bc0c5e4 Author: Nick Mathewson Date: Tue Feb 18 12:55:57 2020 -0500 Make sure callers can handle NULL ext-or auth cookie filename --- src/app/main/shutdown.c | 3 ++- src/feature/client/transports.c | 6 -- 2 files changed, 6

[tor-commits] [tor/master] Merge branch 'extract_ext_orport'

2020-02-19 Thread nickm
commit 65b75ef3d5628fac8e8eeebaf66c437a505653e0 Merge: 7b6e81f8e 9b21a5d25 Author: Nick Mathewson Date: Wed Feb 19 13:55:18 2020 -0500 Merge branch 'extract_ext_orport' changes/ticket33368 | 3 ++ src/app/main/shutdown.c | 3 +- src/core/or/connection_or.c | 69

[tor-commits] [tor/master] Move ext_orport identifier map into ext_orport.c

2020-02-19 Thread nickm
commit 1f958b6020ce40484386a722aa31776a67eb5532 Author: Nick Mathewson Date: Tue Feb 18 13:10:57 2020 -0500 Move ext_orport identifier map into ext_orport.c There's no need to move the declarations: those were already in ext_orport.h. This shrinks connection_or.c a

[tor-commits] [tor/master] Move some declarations into proto_ext_or.h

2020-02-19 Thread nickm
commit 8ce15933e5e8d9c65c7cca2389e42ff2da604b77 Author: Nick Mathewson Date: Tue Feb 18 13:07:33 2020 -0500 Move some declarations into proto_ext_or.h They are for functions declared in that file. --- src/core/proto/proto_ext_or.h | 7 +++ src/feature/relay/ext_orport.h | 6

[tor-commits] [tor/master] Note module-local functions in ext_orport.h

2020-02-19 Thread nickm
commit 9b21a5d2549bb1ef1ee8f3c8cc92b33ff411ce36 Author: Nick Mathewson Date: Wed Feb 19 12:12:00 2020 -0500 Note module-local functions in ext_orport.h Since these are only used inside the feature/relay module, they don't need stubs. --- src/feature/relay/ext_orport.h | 3 ++-

[tor-commits] [sbws/master] fix: destination: Set maximum to retry a destination

2020-02-19 Thread juga
commit 25bb4476f23c34bc25cf36950924d91549b651ff Author: juga0 Date: Wed Feb 19 16:31:07 2020 + fix: destination: Set maximum to retry a destination otherwise the time to retry a destination could increase too much, as it's being multiplied by 2, and a destination would not

[tor-commits] [sbws/master] Merge branch 'maint-1.1'

2020-02-19 Thread juga
commit 205eefd1af9ea38098b8cab7cf7251671cf47f73 Merge: 44ece91 c36518c Author: juga0 Date: Wed Feb 19 18:50:40 2020 + Merge branch 'maint-1.1' sbws/globals.py| 3 +++ sbws/lib/destination.py| 45 ++

[tor-commits] [sbws/master] fix: tests: Test maximum retry delta in destination

2020-02-19 Thread juga
commit c36518cb39c965733d7734c328597260d30f255d Author: juga0 Date: Wed Feb 19 17:00:14 2020 + fix: tests: Test maximum retry delta in destination --- tests/unit/lib/test_destination.py | 20 1 file changed, 20 insertions(+) diff --git

[tor-commits] [sbws/master] fix: destination: Replace constant name

2020-02-19 Thread juga
commit d7acfa7fc24a1d43426d01fc36284564d5b9c9b2 Author: juga0 Date: Wed Feb 19 16:46:52 2020 + fix: destination: Replace constant name to make it consistent with others and shorter. Part of #33033. --- sbws/globals.py | 2 +- sbws/lib/destination.py | 4 ++--

[tor-commits] [sbws/maint-1.1] fix: destination: Replace constant name

2020-02-19 Thread juga
commit d7acfa7fc24a1d43426d01fc36284564d5b9c9b2 Author: juga0 Date: Wed Feb 19 16:46:52 2020 + fix: destination: Replace constant name to make it consistent with others and shorter. Part of #33033. --- sbws/globals.py | 2 +- sbws/lib/destination.py | 4 ++--

[tor-commits] [sbws/maint-1.1] fix: destination: Set maximum to retry a destination

2020-02-19 Thread juga
commit 25bb4476f23c34bc25cf36950924d91549b651ff Author: juga0 Date: Wed Feb 19 16:31:07 2020 + fix: destination: Set maximum to retry a destination otherwise the time to retry a destination could increase too much, as it's being multiplied by 2, and a destination would not

[tor-commits] [sbws/maint-1.1] fix: tests: Test maximum retry delta in destination

2020-02-19 Thread juga
commit c36518cb39c965733d7734c328597260d30f255d Author: juga0 Date: Wed Feb 19 17:00:14 2020 + fix: tests: Test maximum retry delta in destination --- tests/unit/lib/test_destination.py | 20 1 file changed, 20 insertions(+) diff --git

[tor-commits] [bridgedb/develop] Update documented return value.

2020-02-19 Thread phw
commit 1f614896ed3442c8758e7ea10bef0c1fc366a4c1 Author: Philipp Winter Date: Fri Feb 14 10:07:47 2020 -0800 Update documented return value. The function is returning a bytes, and not a str. --- bridgedb/qrcodes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff

[tor-commits] [bridgedb/develop] Merge branch 'release-0.9.4'

2020-02-19 Thread phw
commit 9a7ae57cfc85be8aa488bf0e69e8b6f35e2ce38d Merge: 0f2349d e461a7a Author: Philipp Winter Date: Wed Feb 19 10:09:20 2020 -0800 Merge branch 'release-0.9.4' .travis.requirements.txt| 3 +- .travis.yml | 2 +- CHANGELOG

[tor-commits] [bridgedb/develop] Merge branch 'master' into develop

2020-02-19 Thread phw
commit ef9ea5c12791679cce40bdf84aa01438785da0aa Merge: c3a820d 9a7ae57 Author: Philipp Winter Date: Wed Feb 19 10:09:43 2020 -0800 Merge branch 'master' into develop CHANGELOG | 2 ++ 1 file changed, 2 insertions(+) ___ tor-commits mailing

[tor-commits] [bridgedb/develop] Normalize captcha's solution input

2020-02-19 Thread phw
commit e3de9228f7f1969c2f8569f35f57603e2c2d8641 Author: Damian Johnson Date: Mon Jan 20 18:29:23 2020 -0800 Normalize captcha's solution input Honestly I don't know why BridgeDB has these tests at all, but these pass byte input as the solution so accounting for this.

[tor-commits] [bridgedb/develop] Remove subscript notation for dict_items object.

2020-02-19 Thread phw
commit 2c6aa212d03d30b8c63160cb931afe31cc2c5876 Author: Philipp Winter Date: Wed Feb 5 14:03:11 2020 -0800 Remove subscript notation for dict_items object. In Python 3, a dictionary's items() method returns a dict_items rather than a list type. It's not possible to use

[tor-commits] [bridgedb/develop] Change Travis's Python version to 3.7.

2020-02-19 Thread phw
commit 257b549d5545604114f0ac4047ce009955ac0c0e Author: Philipp Winter Date: Mon Jan 27 16:02:57 2020 -0800 Change Travis's Python version to 3.7. We won't be supporting Python 2 anymore, so we may as well drop it. --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1

[tor-commits] [bridgedb/develop] Turn HTTP arguments dict from bytes to str.

2020-02-19 Thread phw
commit 29c2bd17c43fb5ab541281e7a9d2822fc0045338 Author: Philipp Winter Date: Thu Jan 30 15:28:06 2020 -0800 Turn HTTP arguments dict from bytes to str. --- bridgedb/distributors/https/server.py | 8 1 file changed, 8 insertions(+) diff --git

[tor-commits] [bridgedb/develop] Port get-tor-exists script to Python 3.

2020-02-19 Thread phw
commit 7cdc8cf5a94e677b3a0163a6e42cd2e9785cb37a Author: Philipp Winter Date: Wed Jan 29 16:42:31 2020 -0800 Port get-tor-exists script to Python 3. This involved the following: * Changing the shebang from "python" to "python3". * Using the ipaddress instead of

[tor-commits] [bridgedb/develop] Account for missing keyword arguments.

2020-02-19 Thread phw
commit 1b20e56ba1fbb8c90a500edf044cc2881fa856dc Author: Philipp Winter Date: Wed Jan 29 17:18:30 2020 -0800 Account for missing keyword arguments. This seems to be new in Python 3.5. --- bridgedb/test/test_smtp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[tor-commits] [bridgedb/develop] Duplicate ports could cause test failures

2020-02-19 Thread phw
commit 8523cae6928c27c90a4394a326e00cd9dc9630dd Author: Damian Johnson Date: Mon Jan 20 18:14:32 2020 -0800 Duplicate ports could cause test failures Not python 3 related, but when picking random ports if we have a duplicate our tests fail with... Traceback (most

[tor-commits] [bridgedb/develop] Bump version number to 0.9.4.

2020-02-19 Thread phw
commit e461a7a0477a31e11ac89cc3161cbf24a4bea9e7 Author: Philipp Winter Date: Wed Feb 19 10:09:06 2020 -0800 Bump version number to 0.9.4. --- CHANGELOG | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG b/CHANGELOG index 6d4c402..163fc6c 100644 --- a/CHANGELOG +++ b/CHANGELOG

[tor-commits] [bridgedb/develop] Convert filter() output to list() before len().

2020-02-19 Thread phw
commit 39ea49d5ebaa27e907c3c87e94ab70471e191eaf Author: Philipp Winter Date: Mon Jan 27 16:29:14 2020 -0800 Convert filter() output to list() before len(). ...otherwise Python 3 will complain: TypeError: object of type 'filter' has no len() --- bridgedb/main.py | 2 +-

[tor-commits] [bridgedb/develop] Explicitly specify parser for BeautifulSoup.

2020-02-19 Thread phw
commit 93783bba150e4714a60825974a91aec83e2cdb59 Author: Philipp Winter Date: Wed Jan 29 21:16:16 2020 -0800 Explicitly specify parser for BeautifulSoup. This should fix CI warnings like the following:

[tor-commits] [bridgedb/develop] Test assertion failure due to class name

2020-02-19 Thread phw
commit 4b4be048d4050bf88f7e6d7051e380c40ef91e1d Author: Damian Johnson Date: Mon Jan 20 16:12:51 2020 -0800 Test assertion failure due to class name BridgeDB attempted to use metaprogramming to define the class name for bridgedb/filters.py's byIPv4 and byIPv6. Rather than

[tor-commits] [bridgedb/develop] Port create_descriptors script to Python 3.

2020-02-19 Thread phw
commit 66cdfa6c6e31759f4b56b98aec27be860c5b1dad Author: Philipp Winter Date: Mon Jan 27 16:22:21 2020 -0800 Port create_descriptors script to Python 3. ...all this required was replacing the ipaddr module with ipaddress. --- scripts/create_descriptors | 6 +++--- 1 file changed,

[tor-commits] [bridgedb/develop] Make shebangs use Python 3.

2020-02-19 Thread phw
commit f9978bf5678d77eb1b03fcd2422c44b62a5733d3 Author: Philipp Winter Date: Wed Feb 12 09:57:40 2020 -0800 Make shebangs use Python 3. --- bridgedb/test/test_Storage.py | 2 +- scripts/bridgedb | 2 +- setup.py | 2 +- 3 files changed, 3 insertions(+), 3

[tor-commits] [bridgedb/develop] Add CHANGELOG entry.

2020-02-19 Thread phw
commit 39fa0b07cbcdc0346856abb387c1473d3e851d7d Author: Philipp Winter Date: Fri Feb 7 15:02:18 2020 -0800 Add CHANGELOG entry. --- CHANGELOG | 4 1 file changed, 4 insertions(+) diff --git a/CHANGELOG b/CHANGELOG index bb1db03..6d4c402 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3

[tor-commits] [bridgedb/develop] Turn hostname from str into bytes.

2020-02-19 Thread phw
commit 4a7f7de90c24fc583325892f44103eca1004fc3e Author: Philipp Winter Date: Thu Jan 30 17:31:32 2020 -0800 Turn hostname from str into bytes. This fixes the following two failed unit tests: ===

[tor-commits] [bridgedb/develop] Add missing pyOpenSSL dependency.

2020-02-19 Thread phw
commit 86e379ff748225f63d0032fe6b1811b0d8a2d655 Author: Philipp Winter Date: Mon Jan 27 16:14:17 2020 -0800 Add missing pyOpenSSL dependency. --- .travis.requirements.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.requirements.txt b/.travis.requirements.txt index

[tor-commits] [bridgedb/develop] Fix remaining str/bytes issues in moat server.

2020-02-19 Thread phw
commit 468dfa0fc5e13da9ba384f9bcb6e7e11bfc26482 Author: Philipp Winter Date: Thu Feb 13 15:05:24 2020 -0800 Fix remaining str/bytes issues in moat server. We ran into these issues while test-deploying the Python 3 branch on polyanthum. --- bridgedb/distributors/moat/server.py

[tor-commits] [bridgedb/develop] Fix str/bytes issue in serving of QR code.

2020-02-19 Thread phw
commit 63ffb833e2592558265d5b23b8b0e1d146daaae7 Author: Philipp Winter Date: Fri Feb 14 10:06:46 2020 -0800 Fix str/bytes issue in serving of QR code. --- bridgedb/distributors/https/server.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git

[tor-commits] [bridgedb/develop] Turn str into bytes in SMTP unit test.

2020-02-19 Thread phw
commit b0c74f0ae932fffcd260eb26fd6594968b11908b Author: Philipp Winter Date: Wed Jan 29 17:58:03 2020 -0800 Turn str into bytes in SMTP unit test. This should fix the following unit test errors: [ERROR] Traceback (most recent call last): File

[tor-commits] [bridgedb/develop] Fix type issue for moat response

2020-02-19 Thread phw
commit 702abdb2c00101962fc840d35f1c441c7ca67f91 Author: Damian Johnson Date: Sun Jan 19 18:05:41 2020 -0800 Fix type issue for moat response Fixing the following... Traceback (most recent call last): File

[tor-commits] [bridgedb/develop] Fix typo in directive.

2020-02-19 Thread phw
commit ec9f157a26af9962e80ae1f3e508c755d76ddc51 Author: Philipp Winter Date: Wed Feb 12 12:32:14 2020 -0800 Fix typo in directive. This fixes the following warning that showed up during installation: warning: manifest_maker: MANIFEST.in, line 4: unknown action

[tor-commits] [bridgedb/develop] Merge branch 'defect/30946' into develop

2020-02-19 Thread phw
commit c3a820daeffa1acc02b9c0458ba8495ff387ecd4 Merge: 7b142b8 1f61489 Author: Philipp Winter Date: Wed Feb 19 10:08:03 2020 -0800 Merge branch 'defect/30946' into develop .travis.requirements.txt| 3 +- .travis.yml | 2 +-

[tor-commits] [bridgedb/develop] Fix remaining str/bytes issues in HTTPS server.

2020-02-19 Thread phw
commit 26c2708f2449bd83ab7361f560ffbb0d870e8f51 Author: Philipp Winter Date: Tue Jan 28 09:33:00 2020 -0800 Fix remaining str/bytes issues in HTTPS server. --- bridgedb/distributors/https/server.py | 85 ++- bridgedb/test/test_https.py | 2 +-

[tor-commits] [bridgedb/develop] Rejection-sample randomly-generated v4 addresses.

2020-02-19 Thread phw
commit 60ed840f3882f80b81a984d419cc7f78d1c96cfb Author: Philipp Winter Date: Tue Feb 11 16:28:33 2020 -0800 Rejection-sample randomly-generated v4 addresses. So far, we generated completely random IPv4 addresses which would sometimes contain multicast addresses. This patch

[tor-commits] [bridgedb/develop] Update BeautifulSoup to its latest version.

2020-02-19 Thread phw
commit 118c9fc9fae1060eb5e1b43b7a21b62127fdfdac Author: Philipp Winter Date: Mon Jan 27 16:08:05 2020 -0800 Update BeautifulSoup to its latest version. We have already done this for requirements.txt but not for .travis.requirements.txt, which is used by Travis CI. ---

[tor-commits] [bridgedb/develop] Discard attribute that's no longer used.

2020-02-19 Thread phw
commit b452f6f9ffb4992bb6be00763ce53ee0e5479878 Author: Philipp Winter Date: Wed Jan 29 18:10:41 2020 -0800 Discard attribute that's no longer used. This fixes the following unit test: [ERROR] Traceback (most recent call last): File

[tor-commits] [bridgedb/develop] Make unit test use ipaddress instead of ipaddr.

2020-02-19 Thread phw
commit d035088f8eaa8ac7d0d0616b3e680c808a76e33b Author: Philipp Winter Date: Wed Jan 29 18:22:18 2020 -0800 Make unit test use ipaddress instead of ipaddr. This should fix the following unit test: [FAIL] Traceback (most recent call last): File

[tor-commits] [bridgedb/develop] Fix gimp captcha check

2020-02-19 Thread phw
commit 1767e28d61a97afeb3a55bbbe8f0bb3fd7e10e9b Author: Damian Johnson Date: Mon Jan 20 16:43:26 2020 -0800 Fix gimp captcha check BridgeDB's multiple layers of catch-alls made this take over an hour to solve. The surface level exception is... Traceback (most

[tor-commits] [bridgedb/develop] Fix dkim header check

2020-02-19 Thread phw
commit aa6cbac12ffc93ffe664f9ede816e66214583c4a Author: Damian Johnson Date: Mon Jan 20 15:25:03 2020 -0800 Fix dkim header check Oops, this one's my bad. When migrating from the rfc822 module I broke this check. The new email message's get() method returns a string rather

[tor-commits] [bridgedb/develop] Make getCaptchaImage return (bytes, str).

2020-02-19 Thread phw
commit ba88dbc286c065ff49bd1d585789eaaa6af7690a Author: Philipp Winter Date: Wed Feb 5 15:57:23 2020 -0800 Make getCaptchaImage return (bytes, str). --- bridgedb/captcha.py | 2 +- bridgedb/distributors/https/server.py | 8 bridgedb/test/test_captcha.py

[tor-commits] [bridgedb/develop] Fix minor type issues

2020-02-19 Thread phw
commit 621f35b9cb02f1106a963ddb1f0b0fd23b4826bd Author: Damian Johnson Date: Sun Jan 19 12:52:56 2020 -0800 Fix minor type issues Just some instances of low hanging fruit... Traceback (most recent call last): File

[tor-commits] [bridgedb/develop] Urllib removed its splithost function

2020-02-19 Thread phw
commit 37464528094a5a70bc65860879f45e93b6b8d0ac Author: Damian Johnson Date: Sat Jan 18 16:39:56 2020 -0800 Urllib removed its splithost function Urllib's documentation said to avoid splithost, and the method was removed in python 3

[tor-commits] [bridgedb/develop] Fix moat test

2020-02-19 Thread phw
commit c08de396a039f559adc60a7b2a1c81aa8da0bfa0 Author: Damian Johnson Date: Sat Jan 18 16:29:21 2020 -0800 Fix moat test Trivial byte hiccup... Traceback (most recent call last): File

[tor-commits] [bridgedb/develop] Scheduling tests are timezone sensitive

2020-02-19 Thread phw
commit 34d1eeb019d771f4eb9b02f5a5f4dbf985d46528 Author: Damian Johnson Date: Sun Jan 19 17:10:50 2020 -0800 Scheduling tests are timezone sensitive This one isn't python 3 related but rather simply a BridgeDB bug when the system's local time isn't UTC... Traceback

[tor-commits] [bridgedb/develop] Get unicode rather than byte descriptors

2020-02-19 Thread phw
commit 14678b00f0d90fada7e7d4616370673156e278a0 Author: Damian Johnson Date: Sat Jan 18 18:23:42 2020 -0800 Get unicode rather than byte descriptors Test results changed as follows... before: FAILED (skips=115, failures=29, errors=34, successes=806) after: FAILED

[tor-commits] [bridgedb/develop] Fix 'pos' argument type

2020-02-19 Thread phw
commit 6df6f3670549efb06fd212838de561924dde4f15 Author: Damian Johnson Date: Sun Jan 19 14:53:42 2020 -0800 Fix 'pos' argument type This took me quite a while to puzzle out. Problem was the pos argument, not a unicode entry within sortedKeys... Traceback (most

[tor-commits] [bridgedb/develop] Fix captcha tests

2020-02-19 Thread phw
commit 62e5f00925ad8d19a6395e930e0a1869ea5d84e4 Author: Damian Johnson Date: Sat Jan 18 17:01:24 2020 -0800 Fix captcha tests Nothing too particularly interesting... Traceback (most recent call last): File

[tor-commits] [bridgedb/develop] Type fix for generation of qrcodes

2020-02-19 Thread phw
commit 82f4566fa127690184cd3aa443d1d5fd9001ff8d Author: Damian Johnson Date: Sun Jan 19 17:33:59 2020 -0800 Type fix for generation of qrcodes Fixing the following test failures... Traceback (most recent call last): File

[tor-commits] [bridgedb/develop] Forgot troubleshoting raise

2020-02-19 Thread phw
commit 59877413ec137f44e3de86c5d9185976c6062f14 Author: Damian Johnson Date: Sun Jan 19 14:20:27 2020 -0800 Forgot troubleshoting raise Oops, this one is purely my bad. I negated this catch-all while troubleshooting other test failures, but forgot to revert it afterward. This

[tor-commits] [bridgedb/develop] Fix email header encoding

2020-02-19 Thread phw
commit 5c1c88c6a7ccad888da7ef49e6b2d0ab909bebf9 Author: Damian Johnson Date: Sun Jan 19 17:59:10 2020 -0800 Fix email header encoding Type issues that manifested in the following... Traceback (most recent call last): File

[tor-commits] [bridgedb/develop] Replace func_name method

2020-02-19 Thread phw
commit 1a1cc3fbd56ce4f6ef05eb82226b49745221c4cf Author: Damian Johnson Date: Fri Jan 17 13:14:54 2020 -0800 Replace func_name method This fixes... Traceback (most recent call last): File "/home/atagar/Desktop/tor/bridgedb/bridgedb/test/test_https_distributor.py",

[tor-commits] [bridgedb/develop] Hash bytes within Storage.py

2020-02-19 Thread phw
commit f76eb054d4dcad4a8677ea163054b99161cceb1c Author: Damian Johnson Date: Fri Jan 17 13:32:51 2020 -0800 Hash bytes within Storage.py Another hashing byte/unicode fix... Traceback (most recent call last): File

[tor-commits] [bridgedb/develop] Fix email server tests

2020-02-19 Thread phw
commit cfd8bf2e03a7761264f8570da0219e74ee22d36e Author: Damian Johnson Date: Sat Jan 18 16:11:51 2020 -0800 Fix email server tests Test results changed as follows... before: FAILED (skips=114, failures=16, errors=108, successes=747) after: FAILED (skips=114,

[tor-commits] [bridgedb/develop] Replace string.letters with string.ascii_letters

2020-02-19 Thread phw
commit 6d9b2a675d515c370a60730d6d9c91d32decd038 Author: Damian Johnson Date: Fri Jan 17 12:06:25 2020 -0800 Replace string.letters with string.ascii_letters Python 3 renamed that constant. This fixes... Traceback (most recent call last): File

[tor-commits] [bridgedb/develop] Hashing requires bytes

2020-02-19 Thread phw
commit cf61a322c65c533379a0bcf0f67b73cae59ec1da Author: Damian Johnson Date: Fri Jan 17 12:28:36 2020 -0800 Hashing requires bytes Just another instance of bytes/unicode type conversion... Traceback (most recent call last): File

[tor-commits] [bridgedb/develop] Fix https_server tests

2020-02-19 Thread phw
commit d604bc5a47b646d154d45deeaba6a2cf6f1e8424 Author: Damian Johnson Date: Thu Jan 16 17:40:04 2020 -0800 Fix https_server tests Ooph, this was more difficult than it should've been. Isis relied on catch-alls for errors she found difficult, requiring me to repeatedly bypass

[tor-commits] [bridgedb/develop] Fix singleton metaclass definition

2020-02-19 Thread phw
commit e3fc34053f98990d28a2121dabd93f4ee5f6edb3 Author: Damian Johnson Date: Fri Jan 17 13:48:34 2020 -0800 Fix singleton metaclass definition This fixes the following... Traceback (most recent call last): File

[tor-commits] [bridgedb/develop] Assert that crypto keys are bytes

2020-02-19 Thread phw
commit 28b3fb3d396c31fe905bd5881f2dfff1fa9d12f6 Author: Damian Johnson Date: Mon Jan 20 18:18:20 2020 -0800 Assert that crypto keys are bytes Simple update to these assertions... Traceback (most recent call last): File

[tor-commits] [bridgedb/develop] Fix logging format

2020-02-19 Thread phw
commit 769712e03d37a294ba6a5b15ba0ddcbbfe3465d3 Author: Damian Johnson Date: Sun Jan 19 15:15:33 2020 -0800 Fix logging format BridgeDB tried to configure its logging format via a private attribute. That attribute no longer works in python 3. Configuring the formatter via its

[tor-commits] [bridgedb/develop] Error concatenating range with a list

2020-02-19 Thread phw
commit f76c06102fe83417dc7c391c9c614f7fd54ff8c0 Author: Damian Johnson Date: Wed Jan 15 17:19:08 2020 -0800 Error concatenating range with a list BridgeDB relies on catch-alls to address its underlying buginess, which is making this harder. Removed one to uncover our

[tor-commits] [bridgedb/develop] Fix hex conversion

2020-02-19 Thread phw
commit fd4b1bbaeea1791cf69bbbfdd89ce7bc6e111088 Author: Damian Johnson Date: Fri Jan 17 12:47:39 2020 -0800 Fix hex conversion Replacing hex encoding with a python 3 equivalent... Python 2: >>> 'hello'.encode('hex') '68656c6c6f' Python 3:

[tor-commits] [bridgedb/develop] Replace remaining bytes() calls

2020-02-19 Thread phw
commit 03494c59e13e08b0f153e46a8831ea664cabcbcc Author: Damian Johnson Date: Wed Jan 15 16:55:59 2020 -0800 Replace remaining bytes() calls Python 3 converts unicode to bytes with its encode() method. This fixes... Traceback (most recent call last): File

[tor-commits] [bridgedb/develop] Replace dict's iteritems with items

2020-02-19 Thread phw
commit a7bb3fbab43ca01455e283d29a3f68cbb9a0a2fe Author: Damian Johnson Date: Fri Jan 17 13:58:14 2020 -0800 Replace dict's iteritems with items Python's methods for keys, values, and items now provide iterators so there is no longer a separate iteritems method. This fixes...

[tor-commits] [bridgedb/develop] Fix dkim tests

2020-02-19 Thread phw
commit 7696471145c2110b95b1eae5b5b66a3098551ce1 Author: Damian Johnson Date: Sat Jan 18 16:21:07 2020 -0800 Fix dkim tests Oops, unsure how I missed this rfc822 usage when I fixed the other calls. This corrects... Traceback (most recent call last): File

[tor-commits] [bridgedb/develop] Fix metric test

2020-02-19 Thread phw
commit 6844a56c81b05a70ef6ba2a1c8ec3acd663e6340 Author: Damian Johnson Date: Fri Jan 17 14:29:52 2020 -0800 Fix metric test Just the normal unicode/byte issue. This fixes... Traceback (most recent call last): File

[tor-commits] [bridgedb/develop] Replace usage of unicode function

2020-02-19 Thread phw
commit a3104da794ba4fcbe78ac5293d6855f75fc119a8 Author: Damian Johnson Date: Sat Jan 11 15:35:39 2020 -0800 Replace usage of unicode function In most cases unicode() is being called on static strings that are already unicode in python 3.x. In the few instances where these

[tor-commits] [bridgedb/develop] Fix descriptor parsing tests

2020-02-19 Thread phw
commit dc07e4e34d8b5f31f015362ee239f07c0b203a44 Author: Damian Johnson Date: Mon Jan 13 19:07:29 2020 -0800 Fix descriptor parsing tests Mostly just simple byte normalizaiton issues. Test results changed as follows... before: FAILED (skips=109, failures=24,

[tor-commits] [bridgedb/develop] Fix txcaptcha tests

2020-02-19 Thread phw
commit e2af8e34664c1ed91ccbe2b5b93e4b2b99f9270c Author: Damian Johnson Date: Mon Jan 13 18:15:20 2020 -0800 Fix txcaptcha tests The _encodeIfNecessary() helper didn't make sense. It claimed to encode unicode into unicode whereas what it really did was simply normalizing

[tor-commits] [bridgedb/develop] Normalize getHMAC inputs

2020-02-19 Thread phw
commit 7ac4b8ea8605470371d78ba6e3c58731c9549c57 Author: Damian Johnson Date: Tue Jan 14 14:29:42 2020 -0800 Normalize getHMAC inputs Calculating the hmac requires bytes. This fixes... Traceback (most recent call last): File

[tor-commits] [bridgedb/develop] Fix crypto tests

2020-02-19 Thread phw
commit 6e0fe68321cb88f83c7e9d37f4458e10551a33b9 Author: Damian Johnson Date: Sat Jan 18 16:55:11 2020 -0800 Fix crypto tests This corrects the following... Traceback (most recent call last): File "/home/atagar/Desktop/tor/bridgedb/bridgedb/test/test_crypto.py",

  1   2   3   >