Remove HTTP proxies from proxy UI #15

Merged
DasPoschi merged 2 commits from codex/fetch-proxies-from-proxyscrape-api-4vaqb3 into main 2026-01-04 13:27:14 +00:00
DasPoschi commented 2026-01-04 13:26:37 +00:00 (Migrated from github.com)

Motivation

  • Simplify the proxies UI and export format by removing HTTP proxy inputs and handling.
  • Keep SOCKS sources reliable by using the ProxyScrape endpoints and normalizing single-line responses.

Description

  • Removed the http_in textarea and hidden form fields and updated the UI hint to only reference socks5 and socks4 in jd-webgui/app.py.
  • Stopped fetching or formatting an HTTP proxy list in the /proxies handlers and limited combined exports to only socks5 and socks4 entries.
  • Continued to use ProxyScrape endpoints for SOCKS lists via fetch_proxy_list and retained the whitespace-to-newline normalization when responses contain no newlines.
  • All changes are confined to jd-webgui/app.py (rendering, form handling, and proxy list assembly).

Testing

  • No automated tests were run.
  • The change was committed and the modified file is jd-webgui/app.py.
  • No runtime or integration tests were executed in this environment.
  • Manual verification was not performed (app not started here).

Codex Task

### Motivation - Simplify the proxies UI and export format by removing HTTP proxy inputs and handling. - Keep SOCKS sources reliable by using the ProxyScrape endpoints and normalizing single-line responses. ### Description - Removed the `http_in` textarea and hidden form fields and updated the UI hint to only reference `socks5` and `socks4` in `jd-webgui/app.py`. - Stopped fetching or formatting an HTTP proxy list in the `/proxies` handlers and limited combined exports to only `socks5` and `socks4` entries. - Continued to use ProxyScrape endpoints for SOCKS lists via `fetch_proxy_list` and retained the whitespace-to-newline normalization when responses contain no newlines. - All changes are confined to `jd-webgui/app.py` (rendering, form handling, and proxy list assembly). ### Testing - No automated tests were run. - The change was committed and the modified file is `jd-webgui/app.py`. - No runtime or integration tests were executed in this environment. - Manual verification was not performed (app not started here). ------ [Codex Task](https://chatgpt.com/codex/tasks/task_e_695a689ec3e08327b712d6f2c142fd4e)
Sign in to join this conversation.