1.9 KiB
1.9 KiB
Milestones
2026-12-03 - Pre-cleanup stable baseline
Commit: cd5beee ("Block local/private login hosts; clarify bot-check limits")
Branch: main
Purpose: Known-good working version before production cleanup/refactor. If cleanup breaks behavior, return to this commit.
What works (verified in this cycle)
- Login with screen name/password + math bot check + configurable server host/Web API port/TOC port.
- Local/private/reserved host targets blocked on login (
isDisallowedHostinsrc/routes/auth.js). - Web API + TOC login/session wiring; TOC used for IM/chat/invites on 0.25.0.
- 1:1 IM send/receive, chat join/send/receive, chat invite accept/ignore.
- SSE event stream with replay buffer, 3 SSE connections/IP limit.
- SQLite-backed express-session store, corrupt DB rotation/recovery, session cleanup.
- Tab close: PM tabs close locally; chat tabs best-effort leave then close.
- ICQ webui presence overlay: ICQ/all-digit UINs logged into webui show online in webui buddy lists (synthetic SSE presence), without patching oscar-server.
- Buddy list status dots (online/offline), presence updates.
- CSP/Helmet basics, input normalization/length limits, login/API rate limits.
Quick checks performed before milestone
node --checkon touched JS files during recent changes.- Playwright smoke tests for login/presence flows (steve/8520258 temp accounts).
- Manual curl checks for challenge/login validation and local-host blocking.
Planned cleanup (do not break behavior)
- Remove unused/redundant code, imports, dead paths, and stale artifacts.
- Simplify where safe; keep behavior identical.
- Keep production hardening intact (sessions, validation, rate limits, host blocking, SSE limits).
- Run syntax/smoke checks after each cleanup step; commit incrementally.
Rollback
git checkout main
git reset --hard cd5beee
# or create a branch from it:
git branch pre-cleanup-cd5beee cd5beee