feat: implement Tier 1 IRC numerics #72

Merged
sneak merged 4 commits from feat/tier1-irc-numerics into main 2026-03-13 00:41:26 +01:00

4 Commits

Author SHA1 Message Date
3b7ed7f460 Merge branch 'main' into feat/tier1-irc-numerics
All checks were successful
check / check (push) Successful in 2m10s
2026-03-13 00:39:02 +01:00
3d29b1c74a Merge branch 'main' into feat/tier1-irc-numerics
All checks were successful
check / check (push) Successful in 1m3s
2026-03-13 00:32:59 +01:00
clawbot
761bce32de fix: remove dead code, fold migration 002 into 001, implement error numerics
All checks were successful
check / check (push) Successful in 2m17s
- Remove unused GetAwayByNick() from queries.go
- Delete migration 002; fold away_message and topic_set_by/topic_set_at
  columns into migration 001 (pre-1.0 policy: single migration file)
- PRIVMSG/NOTICE missing target now sends 411 ERR_NORECIPIENT
- PRIVMSG/NOTICE missing body now sends 412 ERR_NOTEXTTOSEND
- Non-member channel send now sends 404 ERR_CANNOTSENDTOCHAN
- Auth failure now returns 451 ERR_NOTREGISTERED numeric in response
- Update test assertions to match correct IRC numerics
2026-03-10 11:40:24 -07:00
clawbot
0d0d023a50 feat: implement Tier 1 IRC numerics
- AWAY command with RPL_AWAY (301), RPL_UNAWAY (305), RPL_NOWAWAY (306)
- RPL_WHOISIDLE (317) with idle time and signon time in WHOIS
- RPL_TOPICWHOTIME (333) with topic setter and timestamp
- Schema migration 002 for away_message and topic metadata columns
- Refactor deliverJoinNumerics into smaller helper functions
2026-03-10 11:40:24 -07:00