Replace per-request SOCKS5+TLS handshakes with urllib3 SOCKSProxyManager connection pool (20 pools, 4 conns/host). Batch _fetch_og calls via ThreadPoolExecutor to parallelize OG tag enrichment in alert polling. Cache flaskpaste SSL context at module level. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
48 lines
2.4 KiB
Markdown
48 lines
2.4 KiB
Markdown
# derp - Tasks
|
|
|
|
## Current Sprint -- v1.2.2 Connection Pooling + Batch OG (2026-02-17)
|
|
|
|
| Pri | Status | Task |
|
|
|-----|--------|------|
|
|
| P0 | [x] | Batch `_fetch_og` calls via ThreadPoolExecutor (alert.py) |
|
|
| P0 | [x] | Connection pooling via `urllib3[socks]` SOCKSProxyManager (http.py) |
|
|
| P1 | [x] | Cache FlaskPaste `_ssl_context()` at module level |
|
|
| P1 | [x] | Backward-compat `urllib.error.HTTPError` for 4xx/5xx in pooled path |
|
|
| P1 | [x] | Legacy opener fallback for `context=` callers (username.py) |
|
|
| P2 | [x] | Containerfile uses requirements.txt for deps |
|
|
|
|
## Previous Sprint -- v1.2.1 Performance + Polish (2026-02-17)
|
|
|
|
| Pri | Status | Task |
|
|
|-----|--------|------|
|
|
| P1 | [x] | Cache default HTTP opener at module level |
|
|
| P1 | [x] | `--tracemalloc` CLI flag for memory profiling |
|
|
| P1 | [x] | Background seeding on `!alert add` (instant reply) |
|
|
| P1 | [x] | Per-backend error tracking with exponential backoff |
|
|
| P1 | [x] | Concurrent fetches for multi-instance backends (PeerTube, Mastodon, Lemmy, SearXNG) |
|
|
| P1 | [x] | `retries` parameter for `derp.http.urlopen` |
|
|
| P2 | [x] | Full alert titles (ACTION metadata + PRIVMSG content) |
|
|
| P2 | [x] | Remove title truncation from backend builders |
|
|
|
|
## Completed
|
|
|
|
| Date | Task |
|
|
|------|------|
|
|
| 2026-02-17 | v1.2.1 (HTTP opener cache, alert perf, concurrent multi-instance, tracemalloc) |
|
|
| 2026-02-16 | v1.2.0 (subscriptions, alerts, proxy, reminders) |
|
|
| 2026-02-15 | Calendar-based reminders (at/yearly) with persistence |
|
|
| 2026-02-15 | v1.1.0 (channel filter, JSON logging, dork, wayback, tests) |
|
|
| 2026-02-15 | v1.0.0 (IRCv3, chanmgmt, state persistence) |
|
|
| 2026-02-15 | Wave 4 (opslog, note, subdomain, headers, exploitdb, payload) |
|
|
| 2026-02-15 | Wave 3 plugins (geoip, asn, torcheck, iprep, cve) + update script |
|
|
| 2026-02-15 | Admin/owner permission system (hostmask + IRCOP) |
|
|
| 2026-02-15 | SASL PLAIN, rate limiting, CTCP responses |
|
|
| 2026-02-15 | Wave 2 plugins (whois, portcheck, httpcheck, tlscheck, blacklist, rand, timer) |
|
|
| 2026-02-15 | CLI --cprofile flag |
|
|
| 2026-02-15 | Wave 1 plugins (dns, encode, hash, defang, revshell, cidr) |
|
|
| 2026-02-15 | Hot-reload, shorthand, plugin help |
|
|
| 2026-02-15 | Container deployment (Containerfile, compose, Makefile targets) |
|
|
| 2026-02-15 | crt.sh CT lookup plugin |
|
|
| 2026-02-15 | TLS verify option for self-signed certs |
|
|
| 2026-02-15 | Initial implementation (IRC, plugins, config, CLI) |
|