2023-02-21 00:14:00 +00:00
|
|
|
attrs==22.2.0
|
|
|
|
beautifulsoup4==4.11.2
|
2022-09-22 20:14:56 +00:00
|
|
|
brotli==1.0.9
|
2023-02-21 00:14:00 +00:00
|
|
|
cachelib==0.10.2
|
2023-08-02 16:46:09 +00:00
|
|
|
certifi==2023.7.22
|
2023-02-21 00:14:00 +00:00
|
|
|
cffi==1.15.1
|
|
|
|
chardet==5.1.0
|
|
|
|
click==8.1.3
|
2023-02-21 21:28:15 +00:00
|
|
|
cryptography==3.3.2; platform_machine == 'armv7l'
|
2024-03-06 16:51:16 +00:00
|
|
|
cryptography==42.0.4; platform_machine != 'armv7l'
|
2023-02-21 00:14:00 +00:00
|
|
|
cssutils==2.6.0
|
2022-03-01 19:54:32 +00:00
|
|
|
defusedxml==0.7.1
|
2023-05-08 23:22:07 +00:00
|
|
|
Flask==2.3.2
|
2023-02-21 00:14:00 +00:00
|
|
|
idna==3.4
|
|
|
|
itsdangerous==2.1.2
|
2024-02-05 16:55:19 +00:00
|
|
|
Jinja2==3.1.3
|
2023-02-21 00:14:00 +00:00
|
|
|
MarkupSafe==2.1.2
|
|
|
|
more-itertools==9.0.0
|
|
|
|
packaging==23.0
|
|
|
|
pluggy==1.0.0
|
|
|
|
pycodestyle==2.10.0
|
2021-12-21 21:02:13 +00:00
|
|
|
pycparser==2.21
|
2023-02-21 21:28:15 +00:00
|
|
|
pyOpenSSL==19.1.0; platform_machine == 'armv7l'
|
2024-03-06 16:51:16 +00:00
|
|
|
pyOpenSSL==24.0.0; platform_machine != 'armv7l'
|
2023-02-21 00:14:00 +00:00
|
|
|
pyparsing==3.0.9
|
Add tor and http/socks proxy support (#137)
* Add tor and http/socks proxy support
Allows users to enable/disable tor from the config menu, which will
forward all requests through Tor.
Also adds support for setting environment variables for alternative
proxy support. Setting the following variables will forward requests
through the proxy:
- WHOOGLE_PROXY_USER (optional)
- WHOOGLE_PROXY_PASS (optional)
- WHOOGLE_PROXY_TYPE (required)
- Can be "http", "socks4", or "socks5"
- WHOOGLE_PROXY_LOC (required)
- Format: "<ip address>:<port>"
See #30
* Refactor acquire_tor_conn -> acquire_tor_identity
Also updated travis CI to set up tor
* Add check for Tor socket on init, improve Tor error handling
Initializing the app sends a heartbeat request to Tor to check for
availability, and updates the home page config options accordingly. This
heartbeat is sent on every request, to ensure Tor support can be
reconfigured without restarting the entire app.
If Tor support is enabled, and a subsequent request fails, then a new
TorError exception is raised, and the Tor feature is disabled until a
valid connection is restored.
The max attempts has been updated to 10, since 5 seemed a bit too low
for how quickly the attempts go by.
* Change send_tor_signal arg type, update function doc
send_tor_signal now accepts a stem.Signal arg (a bit cleaner tbh). Also
added the doc string for the "disable" attribute in TorError.
* Fix tor identity logic in Request.send
* Update proxy init, change proxyloc var name
Proxy is now only initialized if both type and location are specified,
as neither have a default fallback and both are required. I suppose the
type could fall back to http, but seems safer this way.
Also refactored proxyurl -> proxyloc for the runtime args in order to
match the Dockerfile args.
* Add tor/proxy support for Docker builds, fix opensearch/init
The Dockerfile is now updated to include support for Tor configuration,
with a working torrc file included in the repo.
An issue with opensearch was fixed as well, which was uncovered during
testing and was simple enough to fix here. Likewise, DDG bang gen was
updated to only ever happen if the file didn't exist previously, as
testing with the file being regenerated every time was tedious.
* Add missing "@" for socks proxy requests
2020-10-29 00:47:42 +00:00
|
|
|
PySocks==1.7.1
|
2023-02-21 00:14:00 +00:00
|
|
|
pytest==7.2.1
|
|
|
|
python-dateutil==2.8.2
|
2023-05-25 21:50:12 +00:00
|
|
|
requests==2.31.0
|
2023-02-21 00:14:00 +00:00
|
|
|
soupsieve==2.4
|
|
|
|
stem==1.8.1
|
2023-11-01 20:08:29 +00:00
|
|
|
urllib3==1.26.18
|
2023-09-13 21:51:35 +00:00
|
|
|
validators==0.22.0
|
2022-06-03 19:41:12 +00:00
|
|
|
waitress==2.1.2
|
2023-02-21 00:14:00 +00:00
|
|
|
wcwidth==0.2.6
|
2023-11-01 20:08:49 +00:00
|
|
|
Werkzeug==3.0.1
|
2023-02-21 00:14:00 +00:00
|
|
|
python-dotenv==0.21.1
|
2024-03-21 19:40:42 +00:00
|
|
|
security~=1.2.0
|