From b7f0195234713cd22851e0100500ad7cec6184e8 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Wed, 28 May 2014 19:55:47 -0400 Subject: [PATCH] add "HTTP Proxy" preference to support Tor, I2P, or any other proxy This is the most basic support for channeling all downloads through Tor or I2P. This does not include Orbot integration, so the use will have to know to start Orbot before using this. I don't know anything about I2P. closes #2367 https://dev.guardianproject.info/issues/2367 https://f-droid.org/repository/issues/?do=view_issue&issue=404 https://f-droid.org/repository/issues/?do=view_issue&issue=424 --- CHANGELOG.md | 2 ++ res/values/strings.xml | 8 +++++ res/xml/preferences.xml | 15 ++++++++ src/org/fdroid/fdroid/Preferences.java | 32 +++++++++++++++-- src/org/fdroid/fdroid/net/HttpDownloader.java | 14 +++++++- .../views/fragments/PreferenceFragment.java | 36 ++++++++++++++++++- 6 files changed, 103 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3943d2260..e3d179ddd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,8 @@ * use FDroid repos on Tor Hidden Services (.onion addresses) +* support for a HTTP Proxy in Preferences + * directly send installed apps to other devices via Bluetooth and Android Beam (NFC+Bluetooth), also compatible with Samsung/HTC S-Beam diff --git a/res/values/strings.xml b/res/values/strings.xml index f523a3cb5..9e7772e52 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -197,6 +197,14 @@ Scan this QR Code to connect to the website for getting started. Send FDroid via WiFi… + Proxy + Enable HTTP Proxy + Configure HTTP Proxy for all network requests + Proxy Host + Configure your proxy\'s hostname (e.g. 127.0.0.1) + Proxy Port + Configure your proxy\'s port number (e.g. 8118) +