echo/nickserv/src
Jean 253d4c2a2d
Add lazy inactivity-expiry for accounts and channels
Accounts and channels now carry a last-activity stamp and are dropped
once inactive past a configured threshold. A login stamps the account, a
join stamps the channel — both coalesced to at most one log entry per day
so routine traffic doesn't bloat the log, and stamps replicate so
activity on any node keeps a record alive network-wide.

Expiry is lazy in the proven style: a periodic pass computes it from the
stored stamps with no per-record timer, reusing the same relation the
vhost and suspension expiries use. The sweep spares operator accounts,
accounts with a live session, occupied channels, and anything an operator
has pinned with the new NOEXPIRE command (NickServ NOEXPIRE <account>,
ChanServ NOEXPIRE <#channel>, both Priv::Admin). Each expiry is announced
to the audit channel and clears the channel's +r.

Configured under [expire] (accounts_days / channels_days); a zero or
omitted field leaves that kind never expiring, and omitting the section
disables expiry entirely.
2026-07-14 00:02:36 +00:00
..
ajoin.rs nickserv: AJOIN auto-join list 2026-07-13 02:09:03 +00:00
alist.rs modules: split services and the ircd link into external crates 2026-07-13 01:33:56 +00:00
cert.rs modules: split services and the ircd link into external crates 2026-07-13 01:33:56 +00:00
confirm.rs modules: split services and the ircd link into external crates 2026-07-13 01:33:56 +00:00
drop.rs modules: split services and the ircd link into external crates 2026-07-13 01:33:56 +00:00
ghost.rs Clippy sweep: clean across the workspace 2026-07-13 23:30:51 +00:00
glist.rs modules: split services and the ircd link into external crates 2026-07-13 01:33:56 +00:00
group.rs modules: split services and the ircd link into external crates 2026-07-13 01:33:56 +00:00
identify.rs HostServ: ident@host vhosts (CHGIDENT) 2026-07-13 22:04:16 +00:00
info.rs BotServ GREET + NickServ SET GREET 2026-07-13 14:43:48 +00:00
lib.rs Add lazy inactivity-expiry for accounts and channels 2026-07-14 00:02:36 +00:00
logout.rs modules: split services and the ircd link into external crates 2026-07-13 01:33:56 +00:00
noexpire.rs Add lazy inactivity-expiry for accounts and channels 2026-07-14 00:02:36 +00:00
password.rs BotServ: DONTKICKVOICES, plus neutral code comments 2026-07-13 18:19:37 +00:00
register.rs nickserv/security: password policy, auth throttle, unguessable codes 2026-07-13 02:28:47 +00:00
resetpass.rs modules: split services and the ircd link into external crates 2026-07-13 01:33:56 +00:00
set.rs BotServ GREET + NickServ SET GREET 2026-07-13 14:43:48 +00:00
suspend.rs chanserv: channel SUSPEND / UNSUSPEND (oper-gated) 2026-07-13 04:17:17 +00:00
ungroup.rs Clippy sweep: clean across the workspace 2026-07-13 23:30:51 +00:00