feat: make SOCKS5 proxy configurable per adapter
Add `proxy` config option to server (IRC), teams, telegram, and mumble sections. IRC defaults to false (preserving current direct-connect behavior); all others default to true. The `derp.http` module now accepts `proxy=True/False` on urlopen, create_connection, open_connection, and build_opener -- when false, uses stdlib directly. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
15
TASKS.md
15
TASKS.md
@@ -1,6 +1,19 @@
|
||||
# derp - Tasks
|
||||
|
||||
## Current Sprint -- v2.2.0 Mumble Adapter (2026-02-21)
|
||||
## Current Sprint -- v2.2.0 Configurable Proxy (2026-02-21)
|
||||
|
||||
| Pri | Status | Task |
|
||||
|-----|--------|------|
|
||||
| P0 | [x] | `src/derp/http.py` -- `proxy` parameter on all public functions |
|
||||
| P0 | [x] | `src/derp/config.py` -- `proxy` defaults per adapter section |
|
||||
| P0 | [x] | `src/derp/irc.py` -- optional SOCKS5 for IRC connections |
|
||||
| P0 | [x] | `src/derp/telegram.py` -- pass proxy config to HTTP calls |
|
||||
| P0 | [x] | `src/derp/teams.py` -- pass proxy config to HTTP calls |
|
||||
| P0 | [x] | `src/derp/mumble.py` -- pass proxy config to TCP calls |
|
||||
| P1 | [x] | Tests: proxy toggle paths (24 new cases, 1494 total) |
|
||||
| P2 | [x] | Documentation update (USAGE.md, CHEATSHEET.md, API.md) |
|
||||
|
||||
## Previous Sprint -- v2.2.0 Mumble Adapter (2026-02-21)
|
||||
|
||||
| Pri | Status | Task |
|
||||
|-----|--------|------|
|
||||
|
||||
Reference in New Issue
Block a user